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 webpage provides documentation for the `BucketAccessControlPatchBuilder` class within the Google Cloud Storage C++ library, spanning multiple versions from 2.11.0 to the latest release candidate 2.37.0-rc."],["The `BucketAccessControlPatchBuilder` class is used to create PATCH messages for `BucketAccessControl` resources, which only have the fields \"entity\" and \"role\" that can be modified."],["Users can utilize the `set_entity()`, `delete_entity()`, `set_role()`, and `delete_role()` functions to modify the respective fields within the `BucketAccessControl` resource."],["The `BuildPatch()` function generates the actual patch string that can be used in a PATCH request to modify a bucket's access control."],["The documentation references the Google Cloud Storage JSON API for more general information on PATCH requests, which can be found at the provided link."]]],[]]