# Google Cloud Data Catalog V1 Client - Class DataSourceConnectionSpec (2.4.2)

2.4.2 (latest) 2.4.1 2.3.2 2.2.4 2.1.0 2.0.2 1.10.3 1.9.1 1.8.2 1.7.1 1.6.0 1.5.1 1.4.2 1.3.9 Reference documentation and code samples for the Google Cloud Data Catalog V1 Client class DataSourceConnectionSpec.

Specification that applies to a data source connection. Valid only for
entries with the `DATA_SOURCE_CONNECTION` type.

Only one of internal specs can be set at the time, and cannot
be changed later.

Generated from protobuf message `google.cloud.datacatalog.v1.DataSourceConnectionSpec`

## Namespace

Google \\ Cloud \\ DataCatalog \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ bigquery_connection_spec` | `https://docs.cloud.google.com/php/docs/reference/cloud-data-catalog/latest/V1.BigQueryConnectionSpec` Output only. Fields specific to BigQuery connections. |

### getBigqueryConnectionSpec

Output only. Fields specific to BigQuery connections.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-data-catalog/latest/V1.BigQueryConnectionSpec|null` |   |

### hasBigqueryConnectionSpec

### clearBigqueryConnectionSpec

### setBigqueryConnectionSpec

Output only. Fields specific to BigQuery connections.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-data-catalog/latest/V1.BigQueryConnectionSpec` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |