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 outlines the `BucketAccessControlPatchBuilder` class, which is used to construct PATCH messages for the `BucketAccessControl` resource in Google Cloud Storage."],["The `BucketAccessControl` resource can only be modified in its `entity` and `role` fields, but not all PATCH requests are accepted by the server, such as attempts to change the `entity` value."],["The latest version of the documentation available is 2.37.0-rc, with numerous prior versions listed down to 2.11.0, each with their own associated documentation."],["The `BucketAccessControlPatchBuilder` class provides functions to set or delete the `entity` and `role` fields, including `set_entity`, `delete_entity`, `set_role`, and `delete_role`."],["The class features a `BuildPatch()` function that returns a `std::string` containing the built patch."]]],[]]