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-03-14 UTC."],[[["This document provides a detailed overview of the `BucketAccessControlPatchBuilder` class across multiple versions, with version 2.37.0-rc being the latest and 2.13.0 being the version that is currently displayed."],["The `BucketAccessControlPatchBuilder` class is used to prepare a PATCH request for a `BucketAccessControl` resource, allowing for modification of the 'entity' and 'role' fields."],["While it is possible to build a PATCH request to change the 'entity' field, the server rejects these changes."],["The class includes methods such as `BuildPatch()`, `set_entity()`, `delete_entity()`, `set_role()`, and `delete_role()` to facilitate building and modifying patch requests."],["The provided content covers versions 2.11.0 to 2.37.0-rc of the class `BucketAccessControlPatchBuilder` and has a reference to additional information about Patch requests for the Google Cloud Storage JSON API."]]],[]]