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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-01 UTC."],[[["This webpage provides access to the documentation for the `BucketRetentionPolicy` structure across various versions, ranging from version 2.11.0 up to the latest release candidate 2.37.0-rc."],["The `BucketRetentionPolicy` is part of the Google Cloud Storage C++ client library, allowing you to manage data retention policies for storage buckets."],["Google Cloud Storage's Bucket Lock feature, which can be managed by using this structure, allows for configuring and locking data retention policies for a specified period of time, thus governing the minimum retention period for objects within a bucket."],["You can access the documentation for each specific version by clicking on the corresponding link, allowing for easy reference of previous releases, with the latest at the top of the list."]]],[]]