Method: projects.locations.authConfigs.patch

Updates an auth config. If credential is updated, fetch the encrypted auth config from Spanner, decrypt with Cloud KMS key, update the credential fields, re-encrypt with Cloud KMS key and update the Spanner record. For other fields, directly update the Spanner record. Returns the encrypted auth config.

HTTP request

PATCH https://integrations.googleapis.com/v1/{authConfig.name=projects/*/locations/*/authConfigs/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
authConfig.name

string

Resource name of the auth config. For more information, see Manage authentication profiles.

projects/{project}/locations/{location}/authConfigs/{authConfig}

.

Query parameters

Parameters
updateMask

string (FieldMask format)

Field mask specifying the fields in the above AuthConfig that have been modified and need to be updated.

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 AuthConfig.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the Authentication Overview.

IAM Permissions

Requires the following IAM permission on the name resource:

  • integrations.authConfigs.update

For more information, see the IAM documentation.