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, which is no longer supported; it is recommended to use the Apigee API hub APIs instead."],["The API endpoint is a POST request to `https://apigeeregistry.googleapis.com/v1/{resource=projects/*/locations/*/apis/*/versions/*/specs/*/artifacts/*}:setIamPolicy`, utilizing gRPC Transcoding."],["The required path parameter `resource` is a string indicating the resource for which the policy is being set, following specific resource name guidelines."],["The request body must include a JSON representation with a `policy` field that contains a complete policy object, limited in size to a few 10s of KB, to be applied to the specified resource."],["The successfull API call returns a response with the Policy information, and the API requires the OAuth scope `https://www.googleapis.com/auth/cloud-platform` for authorization."]]],[]]