Creates a policy binding and returns a long-running operation. Callers will need the IAM permissions on both the policy and target. Once the binding is created, the policy is applied to the target.
HTTP request
POST https://iam.googleapis.com/v3/{parent=folders/*/locations/*}/policyBindings
Required. The parent resource where this policy binding will be created. 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 API call creates a policy binding, which applies a policy to a specified target resource and returns a long-running operation."],["The HTTP request uses a POST method to the endpoint `https://iam.googleapis.com/v3/{parent=folders/*/locations/*}/policyBindings` with gRPC Transcoding syntax."],["The required `parent` path parameter identifies the resource where the policy binding will be created, such as a project, folder, or organization."],["The `policyBindingId` query parameter is required to set the identifier of the policy binding, and `validateOnly` is an optional boolean to validate the request without posting."],["The request body contains a `PolicyBinding` instance, and a successful response returns a newly created `Operation` instance."]]],[]]