REQUIRED: The complete policy to be applied to the resource. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud services (such as Projects) might reject them.
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-03-07 UTC."],[[["This documentation covers the legacy Apigee Registry API's `setIamPolicy` method, which is no longer supported and suggests using the newer Apigee API hub APIs instead."],["The `setIamPolicy` method sets the access control policy on a specified resource, replacing any existing policy, and requires a `POST` HTTP request to a specific URL."],["The request requires a path parameter named `resource`, which is a string specifying the target resource for the policy, and the request body must include a `policy` object in JSON format."],["The method may return `NOT_FOUND`, `INVALID_ARGUMENT`, or `PERMISSION_DENIED` errors, and upon success returns a `Policy` instance."],["To successfully use this api, you need to have authorization through `https://www.googleapis.com/auth/cloud-platform` OAuth scope."]]],[]]