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

Defines the destination bigquery dataset.

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

## Namespace

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

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ dataset_reference` | `https://docs.cloud.google.com/php/docs/reference/cloud-bigquery-data-exchange/latest/V1beta1.DestinationDatasetReference` Required. A reference that identifies the destination dataset. |
| `↳ friendly_name` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/StringValue` Optional. A descriptive name for the dataset. |
| `↳ description` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/StringValue` Optional. A user-friendly description of the dataset. |
| `↳ labels` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` Optional. The labels associated with this dataset. You can use these to organize and group your datasets. You can set this property when inserting or updating a dataset. See <https://cloud.google.com/resource-manager/docs/creating-managing-labels> for more information. |
| `↳ location` | `string` Required. The geographic location where the dataset should reside. See <https://cloud.google.com/bigquery/docs/locations> for supported locations. |

### getDatasetReference

Required. A reference that identifies the destination dataset.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-bigquery-data-exchange/latest/V1beta1.DestinationDatasetReference|null` |   |

### hasDatasetReference

### clearDatasetReference

### setDatasetReference

Required. A reference that identifies the destination dataset.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-bigquery-data-exchange/latest/V1beta1.DestinationDatasetReference` |

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

### getFriendlyName

Optional. A descriptive name for the dataset.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/StringValue|null` |   |

### hasFriendlyName

### clearFriendlyName

### getFriendlyNameUnwrapped

Returns the unboxed value from `getFriendlyName()`

Optional. A descriptive name for the dataset.

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

### setFriendlyName

Optional. A descriptive name for the dataset.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/StringValue` |

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

### setFriendlyNameUnwrapped

Sets the field by wrapping a primitive type in a Google\\Protobuf\\StringValue object.

Optional. A descriptive name for the dataset.

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

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

### getDescription

Optional. A user-friendly description of the dataset.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/StringValue|null` |   |

### hasDescription

### clearDescription

### getDescriptionUnwrapped

Returns the unboxed value from `getDescription()`

Optional. A user-friendly description of the dataset.

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

### setDescription

Optional. A user-friendly description of the dataset.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/StringValue` |

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

### setDescriptionUnwrapped

Sets the field by wrapping a primitive type in a Google\\Protobuf\\StringValue object.

Optional. A user-friendly description of the dataset.

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

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

### getLabels

Optional. The labels associated with this dataset. You can use these
to organize and group your datasets.

You can set this property when inserting or updating a dataset.
See <https://cloud.google.com/resource-manager/docs/creating-managing-labels>
for more information.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |   |

### setLabels

Optional. The labels associated with this dataset. You can use these
to organize and group your datasets.

You can set this property when inserting or updating a dataset.
See <https://cloud.google.com/resource-manager/docs/creating-managing-labels>
for more information.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |

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

### getLocation

Required. The geographic location where the dataset should reside. See
<https://cloud.google.com/bigquery/docs/locations> for supported
locations.

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

### setLocation

Required. The geographic location where the dataset should reside. See
<https://cloud.google.com/bigquery/docs/locations> for supported
locations.

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

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