Required. The resource name of the policy to retrieve. Format: policies/{attachmentPoint}/denypolicies/{policyId}
Use the 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-policy.
For organizations and folders, use the numeric ID in the full resource name. For projects, you can use the alphanumeric or the numeric ID.
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of Policy.
[[["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-05-21 UTC."],[[["\u003cp\u003eThis endpoint retrieves a policy using a GET request to the specified URL, which follows gRPC Transcoding syntax.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ename\u003c/code\u003e path parameter, which is required, specifies the resource name of the policy, including attachment point and policy ID, and must be URL-encoded.\u003c/p\u003e\n"],["\u003cp\u003eThe request body for this endpoint is required to be empty.\u003c/p\u003e\n"],["\u003cp\u003eA successful response will contain a \u003ccode\u003ePolicy\u003c/code\u003e instance in the response body.\u003c/p\u003e\n"],["\u003cp\u003eThis operation requires either the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/iam\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],[],null,[]]