# Google Cloud Storage Insights V1 Client - Class Link (1.4.0)

1.4.0 (latest) 1.3.3 1.2.1 1.1.0 1.0.3 0.3.5 0.2.3 0.1.1 Reference documentation and code samples for the Google Cloud Storage Insights V1 Client class Link.

Defines the details about the linked dataset.

Generated from protobuf message `google.cloud.storageinsights.v1.DatasetConfig.Link`

## Namespace

Google \\ Cloud \\ StorageInsights \\ V1 \\ DatasetConfig

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ dataset` | `string` Output only. Dataset name for linked dataset. |
| `↳ linked` | `bool` Output only. State of the linked dataset. |

### getDataset

Output only. Dataset name for linked dataset.

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

### setDataset

Output only. Dataset name for linked dataset.

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

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

### getLinked

Output only. State of the linked dataset.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setLinked

Output only. State of the linked dataset.

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

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