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-03-14 UTC."],[[["This webpage provides documentation for the `BucketRetentionPolicy` structure within the Google Cloud Storage C++ library, covering versions from 2.11.0 to the latest release candidate 2.37.0-rc."],["The `BucketRetentionPolicy` allows users to manage data retention policies for Cloud Storage buckets, defining the minimum duration that objects must be stored."],["Google Cloud Storage's Bucket Lock feature, associated with the `BucketRetentionPolicy`, enables the enforcement of data retention and supports locking policies to prevent them from being altered."],["The provided links in the content navigate to the documentation for each specific library version, showcasing the evolution of `BucketRetentionPolicy` over time."]]],[]]