v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1363121226.6 KB
projects

Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.

post/v1/{+resource}:setIamPolicy

Path parameters

resourcestring required

REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.

Request body

updateMaskstring google-fieldmask

OPTIONAL: A FieldMask specifying which fields of the policy to modify. Only the fields in the mask will be modified. If no mask is provided, the following default mask is used: paths: "bindings, etag"

Response

Successful response