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 how to set an access control policy on a specified resource using the legacy Apigee Registry API, which is no longer supported and recommends using Apigee API hub APIs."],["The HTTP request uses the `POST` method with a specific URL structure adhering to gRPC Transcoding syntax, targeting the `setIamPolicy` operation."],["The request requires a `resource` path parameter, which is a string representing the resource for which the policy is defined, and its format is explained in the Resource Names documentation."],["The request body is structured in JSON format and must include a `policy` object that contains the complete policy to be applied, with a size limit of a few tens of KB."],["The authorization for this request mandates the use of the `https://www.googleapis.com/auth/cloud-platform` OAuth scope."]]],[]]