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-18 UTC."],[[["This webpage provides documentation for the `ObjectAccessControlPatchBuilder` class across multiple versions, ranging from 2.11.0 up to the latest release candidate 2.37.0-rc."],["The `ObjectAccessControlPatchBuilder` class is used to prepare a patch for an `ObjectAccessControl` resource, which only has two modifiable fields: entity and role."],["The class includes functions like `BuildPatch()`, `set_entity()`, `delete_entity()`, `set_role()`, and `delete_role()` to configure the patch message."],["While the PATCH request can express changes to the \"entity\" field, the server will reject those specific changes."],["The documentation contains a link to the Google Cloud Storage JSON API for more information on PATCH requests."]]],[]]