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-02 UTC."],[[["The page provides a version history for the `BucketRetentionPolicy` structure in Google Cloud Storage, ranging from version 2.11.0 up to the latest release candidate, 2.37.0-rc."],["Each version listed links to the respective documentation for the `BucketRetentionPolicy` structure, which can be found in the Google Cloud Storage C++ client library."],["`BucketRetentionPolicy` is a feature to define how long data in a bucket must be retained, with the option to lock the retention policy to prevent reductions or removals."],["The latest version `2.37.0-rc` is the most current version of the document, with the rest being past releases."]]],[]]