Method: projects.locations.products.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/*/products/*/authConfigs/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
authConfig.name

string

Resource name of the SFDC instance 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 one of the following IAM permissions on the name resource, depending on the resource type:

  • integrations.apigeeAuthConfigs.update
  • integrations.authConfigs.update
  • integrations.securityAuthConfigs.update

For more information, see the IAM documentation.