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 `BucketMetadataPatchBuilder` class, which is used to construct patch requests for modifying various fields of a Bucket resource within Google Cloud Storage."],["The class allows for setting and resetting various properties like ACL, Autoclass, Billing, CORS, Event-Based Hold, Default ACL, IAM Configuration, Encryption, Labels, Lifecycle, Logging, Name, Retention Policy, RPO, Storage Class, Versioning, and Website settings."],["It supports the modification of specific fields by sending a patch request, which allows for changing a small portion of the Bucket resource's fields, offering efficiency in updating resources."],["The class provides methods to clear or reset individual settings (e.g., `ResetAcl()`, `ResetAutoclass()`) and includes a method `BuildPatch()` to construct the patch request."],["The webpage displays various versions of this class, with the most current one being [2.37.0-rc (latest)](/cpp/docs/reference/storage/latest/classgoogle_1_1cloud_1_1storage_1_1BucketMetadataPatchBuilder), followed by a list of previous versions going as far back as version 2.11.0."]]],[]]