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 process uses a `PUT` request to the specified URL format: `https://iam.googleapis.com/v2beta/{policy.name=policies/*/*/*}`, employing gRPC Transcoding syntax."],["The `policy.name` path parameter, detailed within the webpage, must be a unique string formatted as `policies/{attachmentPoint}/denypolicies/{policyId}`, with forward-slashes encoded as `%2F`."],["The request body for updating a policy must contain a `Policy` instance, while the response body for a successful update will contain an `Operation` instance."],["Updating a policy requires authorization scopes `https://www.googleapis.com/auth/cloud-platform` or `https://www.googleapis.com/auth/iam`."]]],[]]