- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization Scopes
- Try it!
Updates a bucket. This method replaces the following fields in the existing bucket with values from the new bucket:
If the retention period is decreased and the bucket is locked, FAILED_PRECONDITION will be returned.
If the bucket has a LifecycleState of DELETE_REQUESTED, FAILED_PRECONDITION will be returned.
A buckets region may not be modified after it is created. This method is in Beta.
The URL uses gRPC Transcoding syntax.
Required. The full resource name of the bucket to update.
Authorization requires the following IAM permission on the specified resource
Required. Field mask that specifies the fields in
For a detailed
A comma-separated list of fully qualified names of fields. Example:
The request body contains an instance of
If successful, the response body contains an instance of
Requires one of the following OAuth scopes:
For more information, see the Authentication Overview.