projects

PATCH /v1/projects/{projectsId}/keys/{keysId}/policy

Updates the policy for a key.

Request

  • Base URL
    https://recaptchaenterprise.googleapis.com
  • Auth
    OAuth 2 and OAuth 2
    Implicithttps://accounts.google.com/o/oauth2/auth
    Scopeshttps://www.googleapis.com/auth/cloud-platform
    Authorization codehttps://accounts.google.com/o/oauth2/auth
    Token URLhttps://accounts.google.com/o/oauth2/token
    Scopeshttps://www.googleapis.com/auth/cloud-platform

Path parameters

projectsIdstring required
keysIdstring required

Query parameters

updateMaskstring google-fieldmask

Optional. The mask to control which fields of the policy get updated. If the mask is not present, all fields are updated.

Request body

namestring

Identifier. Resource name for this policy. Format: "projects/{project}/keys/{key}/policy" for a policy under a key.

Response

Successful response

namestring

Identifier. Resource name for this policy. Format: "projects/{project}/keys/{key}/policy" for a policy under a key.

Changes

No recorded changes to this operation across all 4 revisions of this API.