projects

Updates the policy for a key.

patch/v1/{+name}

Request

  • Base URL: https://recaptchaenterprise.googleapis.com
  • URL: https://recaptchaenterprise.googleapis.com/v1/{+name}
  • 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

namestring required

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

Query parameters

updateMaskstring

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

Changes

    • breaking

      removed the request body

    • breaking

      removed the media type */* for the response with the status

    • info

      api operation id recaptchaenterprise.projects.firewallpolicies.patch removed and replaced with recaptchaenterprise.projects.keys.updatePolicy