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-09 UTC."],[[["This webpage provides a version history and documentation for the `BucketRetentionPolicy` struct in the Google Cloud Storage C++ library."],["The latest version available is 2.37.0-rc, and the content includes links to documentation for versions ranging from 2.11.0 up to the latest release."],["The `BucketRetentionPolicy` relates to Google Cloud Storage's Bucket Lock feature, which allows setting a data retention policy that determines the minimum duration for which objects in a bucket must be stored."],["Bucket Lock also offers the ability to permanently lock the retention policy, preventing any future reductions or removal of the policy."]]],[]]