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 webpage provides versioned documentation for the `BucketRetentionPolicy` struct within the Google Cloud Storage C++ client library."],["Version 2.37.0-rc is the latest release candidate, and version 2.15.1 is the active/current version shown, with links to older versions available, all the way back to 2.11.0."],["`BucketRetentionPolicy` is a feature to define how long data in a Cloud Storage bucket must be kept."],["The bucket lock feature can be applied to the data retention policy, to prevent modification."],["The provided content links to Google Cloud Storage's documentation regarding bucket lock."]]],[]]