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-08-14 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eBucketMetadataPatchBuilder\u003c/code\u003e class is designed to create patch requests for modifying specific fields of a Bucket resource in Google Cloud Storage.\u003c/p\u003e\n"],["\u003cp\u003eThis tool allows for the modification or deletion of a subset of Bucket resource fields via patch requests, improving efficiency by only updating necessary elements.\u003c/p\u003e\n"],["\u003cp\u003eThe class offers a comprehensive set of methods, such as \u003ccode\u003eSetAcl\u003c/code\u003e, \u003ccode\u003eSetAutoclass\u003c/code\u003e, \u003ccode\u003eSetBilling\u003c/code\u003e, \u003ccode\u003eSetCors\u003c/code\u003e, \u003ccode\u003eSetRetentionPolicy\u003c/code\u003e, \u003ccode\u003eSetSoftDeletePolicy\u003c/code\u003e and many others, to set or reset various Bucket metadata attributes.\u003c/p\u003e\n"],["\u003cp\u003eThere is a listing of available versions, with the latest version being \u003ccode\u003e2.37.0-rc\u003c/code\u003e and older versions going as far back as \u003ccode\u003e2.11.0\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe user can build the final patch request with the \u003ccode\u003eBuildPatch()\u003c/code\u003e function.\u003c/p\u003e\n"]]],[],null,[]]