# Google Cloud BigQuery Data Exchange V1beta1 Client - Class DestinationDatasetReference (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 DestinationDatasetReference.

Contains the reference that identifies a destination bigquery dataset.

Generated from protobuf message `google.cloud.bigquery.dataexchange.v1beta1.DestinationDatasetReference`

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ dataset_id` | `string` Required. A unique ID for this dataset, without the project name. The ID must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum length is 1,024 characters. |
| `↳ project_id` | `string` Required. The ID of the project containing this dataset. |

### getDatasetId

Required. A unique ID for this dataset, without the project name. The ID
must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).

The maximum length is 1,024 characters.

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

### setDatasetId

Required. A unique ID for this dataset, without the project name. The ID
must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).

The maximum length is 1,024 characters.

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

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

### getProjectId

Required. The ID of the project containing this dataset.

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

### setProjectId

Required. The ID of the project containing this dataset.

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

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