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-21 UTC."],[[["This document provides versioned documentation for the `BucketAccessControlPatchBuilder` class, with the latest release being version 2.37.0-rc."],["The `BucketAccessControlPatchBuilder` class is used to construct PATCH messages for modifying `BucketAccessControl` resources, specifically the `entity` and `role` fields."],["The class provides functions to set (`set_entity`, `set_role`) and delete (`delete_entity`, `delete_role`) the `entity` and `role` fields in the patch, and `BuildPatch()` to create the resulting patch."],["The server might reject some of the PATCH messages created by the class, for example changing the entity value is not supported."],["The content provides links to general information regarding PATCH request for the google cloud storage JSON API."]]],[]]