The BucketAccessControl resource only has two modifiable fields: entity and role. This class allows application developers to setup a PATCH message, note that some of the possible PATCH messages may result in errors from the server, for example: while it is possible to express "change the value of the
entity field" with a PATCH request, the server rejects such changes.
[[["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\u003eThis webpage provides documentation for the \u003ccode\u003eBucketAccessControlPatchBuilder\u003c/code\u003e class, which is used to create PATCH messages for \u003ccode\u003eBucketAccessControl\u003c/code\u003e resources in Google Cloud Storage.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBucketAccessControl\u003c/code\u003e resource's modifiable fields are limited to "entity" and "role," and this class can be used to change them, although some modifications may be rejected by the server.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation includes a list of available versions of the \u003ccode\u003eBucketAccessControlPatchBuilder\u003c/code\u003e, ranging from the latest release candidate 2.37.0-rc down to version 2.11.0.\u003c/p\u003e\n"],["\u003cp\u003eKey functions within the \u003ccode\u003eBucketAccessControlPatchBuilder\u003c/code\u003e class include \u003ccode\u003eBuildPatch()\u003c/code\u003e, \u003ccode\u003eset_entity()\u003c/code\u003e, \u003ccode\u003edelete_entity()\u003c/code\u003e, \u003ccode\u003eset_role()\u003c/code\u003e, and \u003ccode\u003edelete_role()\u003c/code\u003e, which are used to construct and modify the patch.\u003c/p\u003e\n"]]],[],null,[]]