buckets
Returns metadata for the specified bucket.
get/b/{bucket}
Path parameters
bucketstring required
Name of a bucket.
Query parameters
generationstring
If present, specifies the generation of the bucket. This is required if softDeleted is true.
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.
projection'full' | 'noAcl'
Set of properties to return. Defaults to noAcl.
softDeletedboolean
If true, return the soft-deleted version of this bucket. The default is false. For more information, see Soft Delete.
userProjectstring
The project to be billed for this request. Required for Requester Pays buckets.
Response
Successful response