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/v3beta/{parent=organizations/*/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 endpoint creates a policy binding within a specified parent resource, such as a project, folder, or organization."],["The HTTP request method is `POST`, and the URL structure adheres to gRPC Transcoding syntax for resource identification."],["The `parent` path parameter is required to specify the resource where the policy binding is to be created, and `policyBindingId` query parameter to set the name of the policy binding."],["The request body should include an instance of `PolicyBinding`, and a successful response will contain an instance of `Operation`."],["The caller requires IAM permissions on both the policy and the target to create the binding, and the OAuth scope `https://www.googleapis.com/auth/cloud-platform` is necessary for authorization."]]],[]]