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

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

Namespace

Google \ Cloud \ DataCatalog \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
int

setConnectionType

The type of the BigQuery connection.

Parameter
Name Description
var int
Returns
Type Description
$this

getCloudSql

Specification for the BigQuery connection to a Cloud SQL instance.

Returns
Type Description
Google\Cloud\DataCatalog\V1\CloudSqlBigQueryConnectionSpec|null

hasCloudSql

setCloudSql

Specification for the BigQuery connection to a Cloud SQL instance.

Parameter
Name Description
var Google\Cloud\DataCatalog\V1\CloudSqlBigQueryConnectionSpec
Returns
Type Description
$this

getHasCredential

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

Returns
Type Description
bool

setHasCredential

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

Parameter
Name Description
var bool
Returns
Type Description
$this

getConnectionSpec

Returns
Type Description
string

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.