This list constraint defines the set of durations for retention policies that can be set on Cloud Storage buckets. By default, if no organisation policy is specified, a Cloud Storage bucket can have a retention policy of any duration. Enforcement of this constraint is not retroactive. Affected Resources:
|
Only applicable for Project level which requires data retention policy.
You can include a retention policy when creating a new bucket, or you can add a retention policy to an existing bucket.
Placing a retention policy on a bucket ensures that all current and future objects in the bucket cannot be deleted or replaced until they reach the age you define in the retention policy.
Attempts to delete or replace objects whose age is less than the retention period fail with a 403 - retentionPolicyNotMet error.
Contact the GCP CloudOps team for the delete request. |