Immutable. The resource name of the Policy, which must be unique. Format: policies/{attachmentPoint}/denypolicies/{policyId}
The attachment point is identified by its URL-encoded full resource name, which means that the forward-slash character, /, must be written as %2F. For example, policies/cloudresourcemanager.googleapis.com%2Fprojects%2Fmy-project/denypolicies/my-deny-policy.
For organizations and folders, use the numeric ID in the full resource name. For projects, requests can use the alphanumeric or the numeric ID. Responses always contain the numeric ID.
[[["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 using a read-modify-write loop, which involves reading the policy, modifying it, and then writing the updated version."],["The `PUT` HTTP request for updating a policy is directed to a specific URL structure: `https://iam.googleapis.com/v2/{policy.name=policies/*/*/*}`, using gRPC Transcoding."],["The `policy.name` path parameter specifies the unique resource name of the policy being updated, with a specific format that includes URL-encoded forward-slashes."],["The request body must contain an instance of the `Policy`, and a successful response will contain an instance of `Operation`."],["The authorization scopes to perform this action are `https://www.googleapis.com/auth/cloud-platform` or `https://www.googleapis.com/auth/iam`."]]],[]]