Google Cloud Data Catalog V1 Client - Class BigQueryConnectionSpec (1.4.2)

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

Specification for the BigQuery connection.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ connection_type int

The type of the BigQuery connection.

↳ cloud_sql Google\Cloud\DataCatalog\V1\CloudSqlBigQueryConnectionSpec

Specification for the BigQuery connection to a Cloud SQL instance.

↳ has_credential bool

True if there are credentials attached to the BigQuery connection; false otherwise.

getConnectionType

The type of the BigQuery connection.

Returns
TypeDescription
int

setConnectionType

The type of the BigQuery connection.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getCloudSql

Specification for the BigQuery connection to a Cloud SQL instance.

Returns
TypeDescription
Google\Cloud\DataCatalog\V1\CloudSqlBigQueryConnectionSpec|null

hasCloudSql

setCloudSql

Specification for the BigQuery connection to a Cloud SQL instance.

Parameter
NameDescription
var Google\Cloud\DataCatalog\V1\CloudSqlBigQueryConnectionSpec
Returns
TypeDescription
$this

getHasCredential

True if there are credentials attached to the BigQuery connection; false otherwise.

Returns
TypeDescription
bool

setHasCredential

True if there are credentials attached to the BigQuery connection; false otherwise.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this

getConnectionSpec

Returns
TypeDescription
string