Reference documentation and code samples for the Google BigQuery Connection V1 Client class CloudSqlProperties.
Connection properties specific to the Cloud SQL.
Generated from protobuf message google.cloud.bigquery.connection.v1.CloudSqlProperties
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ instance_id
string
Cloud SQL instance ID in the form project:location:instance
.
↳ database
string
Database name.
↳ type
int
Type of the Cloud SQL database.
↳ credential
↳ service_account_id
string
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.
getInstanceId
Cloud SQL instance ID in the form project:location:instance
.
string
setInstanceId
Cloud SQL instance ID in the form project:location:instance
.
var
string
$this
getDatabase
Database name.
string
setDatabase
Database name.
var
string
$this
getType
Type of the Cloud SQL database.
int
setType
Type of the Cloud SQL database.
var
int
$this
getCredential
Input only. Cloud SQL credential.
hasCredential
clearCredential
setCredential
Input only. Cloud SQL credential.
$this
getServiceAccountId
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.
string
setServiceAccountId
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.
var
string
$this