Updates a policy binding and returns a long-running operation. Callers will need the IAM permissions on the policy and target in the binding to update, and the IAM permission to remove the existing policy from the binding. Target is immutable and cannot be updated. Once the binding is updated, the new policy is applied to the target.
Identifier. The name of the policy binding, in the format {binding_parent/locations/{location}/policyBindings/{policyBindingId}. The binding parent is the closest Resource Manager resource (project, folder, or organization) to the binding target.
[[["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-07 UTC."],[[["This page details how to update a policy binding via a PATCH request to the Google Cloud IAM API."],["The request URL requires specifying the `policyBinding.name` path parameter, which identifies the binding to update and includes the parent resource's ID and location."],["Optional query parameters `validateOnly` and `updateMask` allow for request validation and specifying the fields to be updated, respectively."],["The request body should contain the updated `PolicyBinding` resource, while a successful response will return an `Operation` resource."],["Updating the policy binding will require you to have a permission to update the binding, as well as the permission to remove the existing policy from the binding."]]],[]]