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-14 UTC."],[[["This document outlines the `BucketMetadataPatchBuilder` class, which is used to modify specific fields of a Google Cloud Storage Bucket resource via PATCH requests."],["The latest version of this class is `2.37.0-rc`, with a history of versions from `2.25.1` up to this release, and then down to `2.11.0` being included on this page."],["`BucketMetadataPatchBuilder` provides functions to set or reset various bucket properties, such as ACLs, billing, CORS, encryption, lifecycle, logging, retention policies, soft delete policies, and more, allowing for granular control over bucket configuration."],["The `BuildPatch()` function compiles the modifications into a patch request and the methods for applying properties all return `BucketMetadataPatchBuilder &` to allow for method chaining."],["Users can directly modify properties or use the reset methods to remove specific attributes, and a warning is provided that the full ACL cannot be reset via the server."]]],[]]