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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-26 UTC."],[[["This document outlines the `ObjectAccessControlPatchBuilder` class, which is used to construct PATCH messages for `ObjectAccessControl` resources within Google Cloud Storage."],["The `ObjectAccessControl` resource's modifiable fields are limited to `entity` and `role`, and some potential PATCH messages altering these fields may be rejected by the server."],["The latest version available is 2.37.0-rc, while the oldest available listed is version 2.11.0, with a comprehensive list of versions in between accessible through links."],["The class provides functions to set or delete `entity` and `role` values, as well as a `BuildPatch()` function for generating the PATCH message."],["PATCH requests are used to modify the `entity` and/or `role` fields of an `ObjectAccessControl` resource, and further information on PATCH requests for Google Cloud Storage can be found at the provided link."]]],[]]