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-04-09 UTC."],[[["This webpage provides documentation for the `ObjectAccessControlPatchBuilder` class, which is used to create PATCH requests for `ObjectAccessControl` resources in Google Cloud Storage."],["The `ObjectAccessControl` resource's modifiable fields are limited to `entity` and `role`, and this class sets up PATCH messages, although not all PATCH messages are accepted by the server."],["The available versions of the documentation range from version 2.11.0 to the latest release candidate 2.37.0-rc, with all other intermediate versions also being available."],["The `ObjectAccessControlPatchBuilder` class provides functions to set or delete the `entity` and `role` of the object access control, as well as a `BuildPatch()` function to generate the patch string."],["The documentation includes a link to general information about PATCH requests in the Google Cloud Storage JSON API."]]],[]]