v1

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

Initiates a long-running Relocate Bucket operation on the specified bucket.

post/b/{bucket}/relocate

Path parameters

bucketstring required

Name of the bucket to be moved.

Request body

destinationLocationstring

The new location the bucket will be relocated to.

validateOnlyboolean

If true, validate the operation, but do not actually relocate the bucket.

destinationKmsKeyNamestring

Resource name of a Cloud KMS key, of the form projects/my-project/locations/global/keyRings/my-kr/cryptoKeys/my-key. If set, is used to encrypt all objects in the destination bucket.

Response

Successful response