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-06-13 UTC."],[[["\u003cp\u003eThis endpoint updates the IAM policy for a specified resource, with the resource location being selectable from a list of global and regional options.\u003c/p\u003e\n"],["\u003cp\u003eThe request requires a \u003ccode\u003eresource\u003c/code\u003e path parameter, which is a string indicating the specific resource to update, as defined by Google Cloud's resource naming conventions.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must contain a JSON object with a \u003ccode\u003epolicy\u003c/code\u003e field, holding the complete policy to be applied, while the policy's size is subject to limitations.\u003c/p\u003e\n"],["\u003cp\u003eA successful request returns a response body containing the updated \u003ccode\u003ePolicy\u003c/code\u003e as defined in the Artifact Registry API.\u003c/p\u003e\n"],["\u003cp\u003eAuthorization for this request requires the \u003ccode\u003ehttps://www.googleapis.com/auth/cloud-platform\u003c/code\u003e OAuth scope, necessitating appropriate authentication.\u003c/p\u003e\n"]]],[],null,[]]