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 webpage details how to update a policy binding via a PATCH HTTP request to the `https://iam.googleapis.com/v3/{policyBinding.name=projects/*/locations/*/policyBindings/*}` endpoint."],["Updating a policy binding requires specific IAM permissions and results in the new policy being applied to the target, where the target itself is immutable."],["The request includes the use of a `policyBinding.name` path parameter to identify the target, along with optional query parameters like `validateOnly` and `updateMask`."],["The request body should be an instance of `PolicyBinding`, and a successful response returns an instance of `Operation`."],["Authorization for this operation requires the `https://www.googleapis.com/auth/cloud-platform` OAuth scope."]]],[]]