The ObjectAccessControl 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 `ObjectAccessControlPatchBuilder` class across multiple versions, with version 2.37.0-rc being the latest available."],["The `ObjectAccessControlPatchBuilder` class is designed to prepare PATCH messages for the `ObjectAccessControl` resource, which is limited to modifying only the entity and role fields."],["The `ObjectAccessControlPatchBuilder` class includes functions such as `BuildPatch()`, `set_entity()`, `delete_entity()`, `set_role()`, and `delete_role()` to manipulate the data it holds."],["While the class facilitates the creation of PATCH requests, the server might reject some of these requests, especially changes to the entity field, as mentioned in the documentation."],["The document directs users to the Google Cloud Storage JSON API documentation for more information on PATCH requests, specifically for performance considerations."]]],[]]