The Bucket resource has many modifiable fields. The application may send a patch request to change (or delete) a small fraction of these fields by using this object.
[[["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-21 UTC."],[[["This document outlines the `ObjectMetadataPatchBuilder` class, which is used to modify specific fields of a Bucket resource via patch requests in Google Cloud Storage."],["The `ObjectMetadataPatchBuilder` class includes methods to set and reset various metadata fields, such as ACL, CacheControl, ContentDisposition, ContentEncoding, ContentLanguage, and ContentType."],["It allows managing event-based holds, temporary holds, custom time, and retention policies through methods like `SetEventBasedHold`, `SetTemporaryHold`, `SetCustomTime`, and `SetRetention`, respectively."],["The document provides specific examples of how to use `SetCustomTime` and `SetRetention` for updating the object metadata, and it also has a link to the Google Cloud Storage JSON API for more details on patch requests."],["There is a list of versions for this page, ranging from the latest version 2.37.0-rc down to version 2.11.0, indicating that different versions of the `ObjectMetadataPatchBuilder` class are documented."]]],[]]