0.16.0 (latest) 0.15.0 0.14.1 0.11.1 0.10.0 0.9.0 0.8.0 0.7.1 0.6.0 0.5.0 0.4.0 0.3.1 0.2.0 0.1.1

> [!WARNING]
> **Beta**
>
>
> This library is covered by the [Pre-GA Offerings Terms](https://docs.cloud.google.com/terms/service-terms#1)
> of the Terms of Service. Pre-GA libraries might have limited support,
> and changes to pre-GA libraries might not be compatible with other pre-GA versions.
> For more information, see the
> [launch stage descriptions](https://docs.cloud.google.com/products#product-launch-stages).

Reference documentation and code samples for the Google Cloud Gemini Data Analytics V1beta Client class DatasourceReferences.

A collection of references to datasources.

Generated from protobuf message `google.cloud.geminidataanalytics.v1beta.DatasourceReferences`

## Namespace

Google \\ Cloud \\ GeminiDataAnalytics \\ V1beta

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ bq` | `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.BigQueryTableReferences` References to BigQuery tables. |
| `↳ studio` | `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.StudioDatasourceReferences` References to Looker Studio datasources. |
| `↳ looker` | `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.LookerExploreReferences` References to Looker Explores. |
| `↳ alloydb` | `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.AlloyDbReference` Reference to an AlloyDB database. Only supported for the `QueryData` method. |
| `↳ spanner_reference` | `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.SpannerReference` Reference to a Spanner database. Only supported for the `QueryData` method. |
| `↳ cloud_sql_reference` | `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.CloudSqlReference` Reference to a CloudSql database. Only supported for the `QueryData` method. |
| `↳ bigtable_reference` | `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.BigtableReference` Reference to a Bigtable instance. |
| `↳ firestore_reference` | `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.FirestoreReference` Reference to a Firestore database. |

### getBq

References to BigQuery tables.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.BigQueryTableReferences|null` |   |

### hasBq

### setBq

References to BigQuery tables.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.BigQueryTableReferences` |

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

### getStudio

References to Looker Studio datasources.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.StudioDatasourceReferences|null` |   |

### hasStudio

### setStudio

References to Looker Studio datasources.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.StudioDatasourceReferences` |

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

### getLooker

References to Looker Explores.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.LookerExploreReferences|null` |   |

### hasLooker

### setLooker

References to Looker Explores.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.LookerExploreReferences` |

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

### getAlloydb

Reference to an AlloyDB database. Only supported for the `QueryData`
method.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.AlloyDbReference|null` |   |

### hasAlloydb

### setAlloydb

Reference to an AlloyDB database. Only supported for the `QueryData`
method.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.AlloyDbReference` |

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

### getSpannerReference

Reference to a Spanner database. Only supported for the `QueryData`
method.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.SpannerReference|null` |   |

### hasSpannerReference

### setSpannerReference

Reference to a Spanner database. Only supported for the `QueryData`
method.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.SpannerReference` |

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

### getCloudSqlReference

Reference to a CloudSql database. Only supported for the `QueryData`
method.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.CloudSqlReference|null` |   |

### hasCloudSqlReference

### setCloudSqlReference

Reference to a CloudSql database. Only supported for the `QueryData`
method.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.CloudSqlReference` |

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

### getBigtableReference

Reference to a Bigtable instance.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.BigtableReference|null` |   |

### hasBigtableReference

### setBigtableReference

Reference to a Bigtable instance.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.BigtableReference` |

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

### getFirestoreReference

Reference to a Firestore database.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.FirestoreReference|null` |   |

### hasFirestoreReference

### setFirestoreReference

Reference to a Firestore database.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-geminidataanalytics/latest/V1beta.FirestoreReference` |

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

### getReferences

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |