# Google Cloud Chronicle V1 Client - Class CreateNativeDashboardRequest (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 CreateNativeDashboardRequest.

Request message to create a dashboard.

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

## Namespace

Google \\ Cloud \\ Chronicle \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ parent` | `string` Required. The parent resource where this dashboard will be created. Format: projects/{project}/locations/{location}/instances/{instance} |
| `↳ native_dashboard` | `https://docs.cloud.google.com/php/docs/reference/cloud-chronicle/latest/V1.NativeDashboard` Required. The dashboard to create. |

### getParent

Required. The parent resource where this dashboard will be created.

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

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

### setParent

Required. The parent resource where this dashboard will be created.

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

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

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

### getNativeDashboard

Required. The dashboard to create.

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

### hasNativeDashboard

### clearNativeDashboard

### setNativeDashboard

Required. The dashboard to create.

| **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** |
| `parent` | `string` Required. The parent resource where this dashboard will be created. Format: projects/{project}/locations/{location}/instances/{instance} Please see NativeDashboardServiceClient::instanceName() for help formatting this field. |
| `nativeDashboard` | `https://docs.cloud.google.com/php/docs/reference/cloud-chronicle/latest/V1.NativeDashboard` Required. The dashboard to create. |

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