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

Request message to import dashboards.

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

## 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} |
| `↳ source` | `https://docs.cloud.google.com/php/docs/reference/cloud-chronicle/latest/V1.ImportNativeDashboardsInlineSource` Required. The data will imported from this proto. |

### 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` |   |

### getSource

Required. The data will imported from this proto.

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

### hasSource

### clearSource

### setSource

Required. The data will imported from this proto.

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

| **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. |
| `source` | `https://docs.cloud.google.com/php/docs/reference/cloud-chronicle/latest/V1.ImportNativeDashboardsInlineSource` Required. The data will imported from this proto. |

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