buckets
Updates a bucket. Changes to the bucket will be readable immediately after writing, but configuration changes may take time to propagate.
put/b/{bucket}
Path parameters
bucketstring required
Name of a bucket.
Query parameters
ifMetagenerationMatchstring
Makes the return of the bucket metadata conditional on whether the bucket's current metageneration matches the given value.
ifMetagenerationNotMatchstring
Makes the return of the bucket metadata conditional on whether the bucket's current metageneration does not match the given value.
predefinedAcl'authenticatedRead' | 'private' | 'projectPrivate' | 'publicRead' | 'publicReadWrite'
Apply a predefined set of access controls to this bucket.
predefinedDefaultObjectAcl'authenticatedRead' | 'bucketOwnerFullControl' | 'bucketOwnerRead' | 'private' | 'projectPrivate' | 'publicRead'
Apply a predefined set of default object access controls to this bucket.
projection'full' | 'noAcl'
Set of properties to return. Defaults to full.
userProjectstring
The project to be billed for this request. Required for Requester Pays buckets.
Request body
Response
Successful response