Google Cloud Data Catalog V1 Client - Class CloudSqlBigQueryConnectionSpec (1.5.1)

Reference documentation and code samples for the Google Cloud Data Catalog V1 Client class CloudSqlBigQueryConnectionSpec.

Specification for the BigQuery connection to a Cloud SQL instance.

Generated from protobuf message google.cloud.datacatalog.v1.CloudSqlBigQueryConnectionSpec

Namespace

Google \ Cloud \ DataCatalog \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ instance_id string

Cloud SQL instance ID in the format of project:location:instance.

↳ database string

Database name.

↳ type int

Type of the Cloud SQL database.

getInstanceId

Cloud SQL instance ID in the format of project:location:instance.

Returns
TypeDescription
string

setInstanceId

Cloud SQL instance ID in the format of project:location:instance.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDatabase

Database name.

Returns
TypeDescription
string

setDatabase

Database name.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getType

Type of the Cloud SQL database.

Returns
TypeDescription
int

setType

Type of the Cloud SQL database.

Parameter
NameDescription
var int
Returns
TypeDescription
$this