Objects under retention cannot be deleted or overwritten until their retention expires. Objects with a "Locked" retention cannot have their retention period decreased or increased.
[[["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 `ObjectRetention` structure within the Google Cloud Storage C++ library, with version 2.31.0 being the currently displayed version."],["The latest release candidate for the documentation is version 2.37.0-rc, while previous versions are available in descending order down to 2.11.0."],["The `ObjectRetention` structure defines the rules for retaining objects in Google Cloud Storage, ensuring that objects cannot be deleted or overwritten before a specified period."],["Objects under a \"Locked\" retention policy have the added restriction that their retention period cannot be modified, either to extend or shorten it."]]],[]]