# Google Cloud BigQuery Data Exchange V1beta1 Client - Class BigQueryDatasetSource (0.6.3)

0.6.3 (latest) 0.6.2 0.5.2 0.4.7 0.3.3 0.2.6

> [!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 BigQuery Data Exchange V1beta1 Client class BigQueryDatasetSource.

A reference to a shared dataset. It is an existing BigQuery dataset with a
collection of objects such as tables and views that you want to share
with subscribers.

When subscriber's subscribe to a listing, Analytics Hub creates a linked
dataset in
the subscriber's project. A Linked dataset is an opaque, read-only BigQuery
dataset that serves as a *symbolic link* to a shared dataset.

Generated from protobuf message `google.cloud.bigquery.dataexchange.v1beta1.Listing.BigQueryDatasetSource`

## Namespace

Google \\ Cloud \\ BigQuery \\ DataExchange \\ V1beta1 \\ Listing

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ dataset` | `string` Resource name of the dataset source for this listing. e.g. `projects/myproject/datasets/123` |

### getDataset

Resource name of the dataset source for this listing.

e.g. `projects/myproject/datasets/123`

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

### setDataset

Resource name of the dataset source for this listing.

e.g. `projects/myproject/datasets/123`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

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