Method: projects.locations.connections.updateCredential

Sets the credential for the specified connection.

HTTP request

PATCH https://bigqueryconnection.googleapis.com/v1beta1/{name=projects/*/locations/*/connections/*/credential}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Name of the connection, for example: projects/{projectId}/locations/{locationId}/connections/{connectionId}/credential

Authorization requires the following IAM permission on the specified resource name:

  • bigquery.connections.update

Request body

The request body contains an instance of ConnectionCredential.

Response body

If successful, the response body is an empty JSON object.

Authorization scopes

Requires one of the following OAuth scopes:

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

For more information, see the Authentication Overview.

ConnectionCredential

Credential to use with a connection.

JSON representation
{

  // Union field credential can be only one of the following:
  "cloudSql": {
    object (CloudSqlCredential)
  }
  // End of list of possible types for union field credential.
}
Fields
Union field credential. Credential specific to the underlying data source. credential can be only one of the following:
cloudSql

object (CloudSqlCredential)

Credential for Cloud SQL database.