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-04-09 UTC."],[[["This page provides documentation for the `BucketAccessControlPatchBuilder` class across multiple versions, ranging from 2.11.0 up to the latest release candidate 2.37.0-rc."],["The `BucketAccessControlPatchBuilder` class is used to prepare a PATCH request for a `BucketAccessControl` resource, specifically for modifying the entity and role fields."],["The class offers functions like `set_entity`, `delete_entity`, `set_role`, and `delete_role` to modify the respective fields within a PATCH request, and `BuildPatch()` to retrieve the final request."],["Not all PATCH messages created by the class are valid, as the server might reject changes to the entity field, according to the provided documentation."],["The documentation references a resource for further information on PATCH requests for the Google Cloud Storage JSON API, found at \u003chttps://cloud.google.com/storage/docs/json_api/v1/how-tos/performance#patch\u003e."]]],[]]