BucketsResource 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
-
delete(String bucket, {String? ifMetagenerationMatch, String? ifMetagenerationNotMatch, String? userProject, String? $fields})
→ Future<void>
-
Permanently deletes an empty bucket.
-
get(String bucket, {String? ifMetagenerationMatch, String? ifMetagenerationNotMatch, String? projection, String? userProject, String? $fields})
→ Future<Bucket>
-
Returns metadata for the specified bucket.
-
getIamPolicy(String bucket, {int? optionsRequestedPolicyVersion, String? userProject, String? $fields})
→ Future<Policy>
-
Returns an IAM policy for the specified bucket.
-
insert(Bucket request, String project, {String? predefinedAcl, String? predefinedDefaultObjectAcl, String? projection, String? userProject, String? $fields})
→ Future<Bucket>
-
Creates a new bucket.
-
list(String project, {int? maxResults, String? pageToken, String? prefix, String? projection, String? userProject, String? $fields})
→ Future<Buckets>
-
Retrieves a list of buckets for a given project.
-
lockRetentionPolicy(String bucket, String ifMetagenerationMatch, {String? userProject, String? $fields})
→ Future<Bucket>
-
Locks retention policy on a bucket.
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
patch(Bucket request, String bucket, {String? ifMetagenerationMatch, String? ifMetagenerationNotMatch, String? predefinedAcl, String? predefinedDefaultObjectAcl, String? projection, String? userProject, String? $fields})
→ Future<Bucket>
-
Patches a bucket.
-
setIamPolicy(Policy request, String bucket, {String? userProject, String? $fields})
→ Future<Policy>
-
Updates an IAM policy for the specified bucket.
-
testIamPermissions(String bucket, List<String> permissions, {String? userProject, String? $fields})
→ Future<TestIamPermissionsResponse>
-
Tests a set of permissions on the given bucket to see which, if any, are
held by the caller.
-
toString()
→ String
-
A string representation of this object.
inherited
-
update(Bucket request, String bucket, {String? ifMetagenerationMatch, String? ifMetagenerationNotMatch, String? predefinedAcl, String? predefinedDefaultObjectAcl, String? projection, String? userProject, String? $fields})
→ Future<Bucket>
-
Updates a bucket.