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 details the `setIamPolicy` method within the legacy Apigee Registry API, which is now deprecated in favor of the Apigee API hub APIs."],["The `setIamPolicy` method sets or replaces the access control policy for a specified resource using a POST request to a designated URL with gRPC Transcoding."],["The method requires a `resource` path parameter and accepts a request body containing a `policy` object that describes the complete access policy."],["Successful execution of `setIamPolicy` returns a `Policy` instance in the response body."],["The `setIamPolicy` method requires the `https://www.googleapis.com/auth/cloud-platform` OAuth scope for authorization."]]],[]]