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/{project_id}/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 will be empty.

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
{
  "cloudSql": {
    object (CloudSqlCredential)
  }
}
Fields
cloudSql

object (CloudSqlCredential)

Credential for Cloud SQL database.

Try it!