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 page provides documentation for the `BucketRetentionPolicy` structure within the Google Cloud Storage C++ client library, spanning multiple versions."],["The latest release candidate version documented is 2.37.0-rc, with the most stable version being 2.36.0, and includes information for versions down to 2.11.0."],["`BucketRetentionPolicy` pertains to a data retention policy that determines how long objects are kept within a Google Cloud Storage bucket."],["The Bucket Lock feature allows users to define, and optionally lock, a retention policy, to protect data from being removed or having its retention reduced."],["The documentation includes a link to a general overview of Bucket Lock feature, providing a more in depth explanation."]]],[]]