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 document describes the legacy Apigee Registry API's `setIamPolicy` method, which is no longer supported and is recommended to use the Apigee API hub APIs instead."],["The `setIamPolicy` method sets the access control policy on a specified resource, replacing any existing policy, and uses a `POST` HTTP request to a designated URL."],["The required path parameter is `resource`, a string that specifies the target resource based on defined naming conventions."],["The request body must contain a `policy` object, representing the access policy to be applied, and the response body, if successful, returns an updated `Policy` object."],["The required authorization scope for using this API method is `https://www.googleapis.com/auth/cloud-platform`."]]],[]]