Class CloudSqlProperties (1.15.2)

CloudSqlProperties(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Connection properties specific to the Cloud SQL.

Attributes

NameDescription
instance_id str
Cloud SQL instance ID in the form project:location:instance.
database str
Database name.
type_ google.cloud.bigquery_connection_v1.types.CloudSqlProperties.DatabaseType
Type of the Cloud SQL database.
credential google.cloud.bigquery_connection_v1.types.CloudSqlCredential
Input only. Cloud SQL credential.
service_account_id str
Output only. The account ID of the service used for the purpose of this connection. When the connection is used in the context of an operation in BigQuery, this service account will serve as the identity being used for connecting to the CloudSQL instance specified in this connection.

Classes

DatabaseType

DatabaseType(value)

Supported Cloud SQL database types.

Values: DATABASE_TYPE_UNSPECIFIED (0): Unspecified database type. POSTGRES (1): Cloud SQL for PostgreSQL. MYSQL (2): Cloud SQL for MySQL.