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 webpage provides documentation for the `BucketRetentionPolicy` feature within Google Cloud Storage's C++ library."],["The latest release candidate version is `2.37.0-rc`, with documentation also available for versions ranging from `2.36.0` down to `2.11.0`."],["`BucketRetentionPolicy` allows you to set how long data will be retained and it will allow you to make that retention time unchangable."],["The documentation also provides a link to the Google Cloud Storage Bucket Lock overview for more general information."]]],[]]