# Google Cloud Chronicle V1 Client - Class DuplicateNativeDashboardRequest (0.4.0)

0.4.0 (latest) 0.3.0 0.2.3 0.1.2 Reference documentation and code samples for the Google Cloud Chronicle V1 Client class DuplicateNativeDashboardRequest.

Request message to duplicate a dashboard.

Generated from protobuf message `google.cloud.chronicle.v1.DuplicateNativeDashboardRequest`

## Namespace

Google \\ Cloud \\ Chronicle \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. The dashboard name to duplicate. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard} |
| `↳ native_dashboard` | `https://docs.cloud.google.com/php/docs/reference/cloud-chronicle/latest/V1.NativeDashboard` Required. Any fields that need modification can be passed through this like name, description etc. |

### getName

Required. The dashboard name to duplicate.

Format:
projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard}

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

### setName

Required. The dashboard name to duplicate.

Format:
projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard}

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

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

### getNativeDashboard

Required. Any fields that need modification can be passed through this like
name, description etc.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-chronicle/latest/V1.NativeDashboard|null` |   |

### hasNativeDashboard

### clearNativeDashboard

### setNativeDashboard

Required. Any fields that need modification can be passed through this like
name, description etc.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-chronicle/latest/V1.NativeDashboard` |

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

### static::build

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `name` | `string` Required. The dashboard name to duplicate. Format: projects/{project}/locations/{location}/instances/{instance}/nativeDashboards/{dashboard} Please see NativeDashboardServiceClient::nativeDashboardName() for help formatting this field. |
| `nativeDashboard` | `https://docs.cloud.google.com/php/docs/reference/cloud-chronicle/latest/V1.NativeDashboard` Required. Any fields that need modification can be passed through this like name, description etc. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-chronicle/latest/V1.DuplicateNativeDashboardRequest` |   |