Method: projects.locations.oauthClients.credentials.patch

Updates an existing OauthClientCredential.

HTTP request

PATCH https://iam.googleapis.com/v1/{oauthClientCredential.name=projects/*/locations/*/oauthClients/*/credentials/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
oauthClientCredential.name

string

Immutable. Identifier. The resource name of the OauthClientCredential.

Format: projects/{project}/locations/{location}/oauthClients/{oauthClient}/credentials/{credential}

Query parameters

Parameters
updateMask

string (FieldMask format)

Required. The list of fields to update.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of OauthClientCredential.

Response body

If successful, the response body contains an instance of OauthClientCredential.

Authorization scopes

Requires one of the following OAuth scopes:

  • https://www.googleapis.com/auth/cloud-platform
  • https://www.googleapis.com/auth/iam

For more information, see the Authentication Overview.