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 documentation for the `ObjectAccessControlPatchBuilder` class, which is used to prepare patches for `ObjectAccessControl` resources in Google Cloud Storage."],["The latest version of the `ObjectAccessControlPatchBuilder` documentation is for version 2.37.0-rc, with a list of prior version documentation, going down to version 2.11.0, that is also available."],["The `ObjectAccessControl` resource has only two modifiable fields: `entity` and `role`, and the `ObjectAccessControlPatchBuilder` class allows developers to construct PATCH messages for them."],["The class includes functions such as `BuildPatch()`, `set_entity()`, `delete_entity()`, `set_role()`, and `delete_role()` to facilitate the creation of PATCH requests."],["There is a reference link to the Google Cloud Storage JSON API documentation on PATCH requests, providing additional information on how PATCH requests are handled."]]],[]]