BucketsResourceApi class

Constructors

BucketsResourceApi(ApiRequester client)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

delete(String bucket, {String ifMetagenerationMatch, String ifMetagenerationNotMatch, String provisionalUserProject, String userProject, String $fields}) Future
Permanently deletes an empty bucket. [...]
get(String bucket, {String ifMetagenerationMatch, String ifMetagenerationNotMatch, String projection, String provisionalUserProject, String userProject, String $fields}) Future<Bucket>
Returns metadata for the specified bucket. [...]
getIamPolicy(String bucket, {int optionsRequestedPolicyVersion, String provisionalUserProject, 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 provisionalUserProject, String userProject, String $fields}) Future<Bucket>
Creates a new bucket. [...]
list(String project, {int maxResults, String pageToken, String prefix, String projection, String provisionalUserProject, String userProject, String $fields}) Future<Buckets>
Retrieves a list of buckets for a given project. [...]
lockRetentionPolicy(String bucket, String ifMetagenerationMatch, {String provisionalUserProject, String userProject, String $fields}) Future<Bucket>
Locks retention policy on a bucket. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
patch(Bucket request, String bucket, {String ifMetagenerationMatch, String ifMetagenerationNotMatch, String predefinedAcl, String predefinedDefaultObjectAcl, String projection, String provisionalUserProject, String userProject, String $fields}) Future<Bucket>
Patches a bucket. Changes to the bucket will be readable immediately after writing, but configuration changes may take time to propagate. [...]
setIamPolicy(Policy request, String bucket, {String provisionalUserProject, String userProject, String $fields}) Future<Policy>
Updates an IAM policy for the specified bucket. [...]
testIamPermissions(String bucket, List<String> permissions, {String provisionalUserProject, 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
Returns a string representation of this object.
inherited
update(Bucket request, String bucket, {String ifMetagenerationMatch, String ifMetagenerationNotMatch, String predefinedAcl, String predefinedDefaultObjectAcl, String projection, String provisionalUserProject, String userProject, String $fields}) Future<Bucket>
Updates a bucket. Changes to the bucket will be readable immediately after writing, but configuration changes may take time to propagate. [...]

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited