# Google Cloud BigQuery Analytics Hub V1 Client - Class DestinationDataset (1.5.1)

1.5.1 (latest) 1.5.0 1.4.1 1.3.0 1.2.1 1.1.0 1.0.4 0.5.3 0.4.0 0.3.2 0.2.2 0.1.6 Reference documentation and code samples for the Google Cloud BigQuery Analytics Hub V1 Client class DestinationDataset.

Defines the destination bigquery dataset.

Generated from protobuf message `google.cloud.bigquery.analyticshub.v1.DestinationDataset`

## Namespace

Google \\ Cloud \\ BigQuery \\ AnalyticsHub \\ V1

## 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-analyticshub/latest/V1.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. |
| `↳ replica_locations` | `string[]` Optional. The geographic locations where the dataset should be replicated. See [BigQuery locations](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-analyticshub/latest/V1.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-analyticshub/latest/V1.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` |   |

### getReplicaLocations

Optional. The geographic locations where the dataset should be replicated.

See [BigQuery locations](https://cloud.google.com/bigquery/docs/locations)
for supported locations.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setReplicaLocations

Optional. The geographic locations where the dataset should be replicated.

See [BigQuery locations](https://cloud.google.com/bigquery/docs/locations)
for supported locations.

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

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