Struct BucketRetentionPolicy (2.27.0)

The retention policy for a bucket.

The Bucket Lock feature of Google Cloud Storage allows you to configure a data retention policy for a Cloud Storage bucket. This policy governs how long objects in the bucket must be retained. The feature also allows you to lock the data retention policy, permanently preventing the policy from from being reduced or removed.

See Also

https://cloud.google.com/storage/docs/bucket-lock for a general overview