ObjectsResource class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
compose(ComposeRequest request, String destinationBucket, String destinationObject, {String? destinationPredefinedAcl, String? ifGenerationMatch, String? ifMetagenerationMatch, String? kmsKeyName, String? userProject, String? $fields})
→ Future<Object>
-
Concatenates a list of existing objects into a new object in the same
bucket.
-
copy(Object request, String sourceBucket, String sourceObject, String destinationBucket, String destinationObject, {String? destinationKmsKeyName, String? destinationPredefinedAcl, String? ifGenerationMatch, String? ifGenerationNotMatch, String? ifMetagenerationMatch, String? ifMetagenerationNotMatch, String? ifSourceGenerationMatch, String? ifSourceGenerationNotMatch, String? ifSourceMetagenerationMatch, String? ifSourceMetagenerationNotMatch, String? projection, String? sourceGeneration, String? userProject, String? $fields})
→ Future<Object>
-
Copies a source object to a destination object.
-
delete(String bucket, String object, {String? generation, String? ifGenerationMatch, String? ifGenerationNotMatch, String? ifMetagenerationMatch, String? ifMetagenerationNotMatch, String? userProject, String? $fields})
→ Future<void>
-
Deletes an object and its metadata.
-
get(String bucket, String object, {String? generation, String? ifGenerationMatch, String? ifGenerationNotMatch, String? ifMetagenerationMatch, String? ifMetagenerationNotMatch, String? projection, String? userProject, String? $fields, DownloadOptions downloadOptions = commons.DownloadOptions.metadata})
→ Future<Object>
-
Retrieves an object or its metadata.
-
getIamPolicy(String bucket, String object, {String? generation, String? userProject, String? $fields})
→ Future<Policy>
-
Returns an IAM policy for the specified object.
-
insert(Object request, String bucket, {String? contentEncoding, String? ifGenerationMatch, String? ifGenerationNotMatch, String? ifMetagenerationMatch, String? ifMetagenerationNotMatch, String? kmsKeyName, String? name, String? predefinedAcl, String? projection, String? userProject, String? $fields, UploadOptions uploadOptions = commons.UploadOptions.defaultOptions, Media? uploadMedia})
→ Future<Object>
-
Stores a new object and metadata.
-
list(String bucket, {String? delimiter, String? endOffset, bool? includeTrailingDelimiter, String? matchGlob, int? maxResults, String? pageToken, String? prefix, String? projection, String? startOffset, String? userProject, bool? versions, String? $fields})
→ Future<Objects>
-
Retrieves a list of objects matching the criteria.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
patch(Object request, String bucket, String object, {String? generation, String? ifGenerationMatch, String? ifGenerationNotMatch, String? ifMetagenerationMatch, String? ifMetagenerationNotMatch, String? predefinedAcl, String? projection, String? userProject, String? $fields})
→ Future<Object>
-
Patches an object's metadata.
-
rewrite(Object request, String sourceBucket, String sourceObject, String destinationBucket, String destinationObject, {String? destinationKmsKeyName, String? destinationPredefinedAcl, String? ifGenerationMatch, String? ifGenerationNotMatch, String? ifMetagenerationMatch, String? ifMetagenerationNotMatch, String? ifSourceGenerationMatch, String? ifSourceGenerationNotMatch, String? ifSourceMetagenerationMatch, String? ifSourceMetagenerationNotMatch, String? maxBytesRewrittenPerCall, String? projection, String? rewriteToken, String? sourceGeneration, String? userProject, String? $fields})
→ Future<RewriteResponse>
-
Rewrites a source object to a destination object.
-
setIamPolicy(Policy request, String bucket, String object, {String? generation, String? userProject, String? $fields})
→ Future<Policy>
-
Updates an IAM policy for the specified object.
-
testIamPermissions(String bucket, String object, List<String> permissions, {String? generation, String? userProject, String? $fields})
→ Future<TestIamPermissionsResponse>
-
Tests a set of permissions on the given object to see which, if any, are
held by the caller.
-
toString()
→ String
-
A string representation of this object.
inherited
-
update(Object request, String bucket, String object, {String? generation, String? ifGenerationMatch, String? ifGenerationNotMatch, String? ifMetagenerationMatch, String? ifMetagenerationNotMatch, String? predefinedAcl, String? projection, String? userProject, String? $fields})
→ Future<Object>
-
Updates an object's metadata.
-
watchAll(Channel request, String bucket, {String? delimiter, String? endOffset, bool? includeTrailingDelimiter, int? maxResults, String? pageToken, String? prefix, String? projection, String? startOffset, String? userProject, bool? versions, String? $fields})
→ Future<Channel>
-
Watch for changes on all objects in a bucket.