v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-138134216.7 KB
buckets

Locks retention policy on a bucket.

post/b/{bucket}/lockRetentionPolicy

Path parameters

bucketstring required

Name of a bucket.

Query parameters

ifMetagenerationMatchstring required

Makes the operation conditional on whether bucket's current metageneration matches the given value.

userProjectstring

The project to be billed for this request. Required for Requester Pays buckets.

Response

Successful response