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

Request

  • Base URL: https://agentidentity.googleapis.com
  • URL: https://agentidentity.googleapis.com/v1/{+resource}:setIamPolicy
  • Auth: OAuth 2 (implicit, authorization URL https://accounts.google.com/o/oauth2/auth, scopes: https://www.googleapis.com/auth/cloud-platform) and OAuth 2 (authorization code, authorization URL https://accounts.google.com/o/oauth2/auth, token URL https://accounts.google.com/o/oauth2/token, scopes: https://www.googleapis.com/auth/cloud-platform)

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

Changes

No recorded changes to this operation across all 1 revision of this API.