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

User Data for Native Dashboard

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

## Namespace

Google \\ Cloud \\ Chronicle \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ last_viewed_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` time when this dashboard is last viewed |
| `↳ is_pinned` | `bool` is dashboard pinned by user |

### getLastViewedTime

time when this dashboard is last viewed

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp|null` |   |

### hasLastViewedTime

### clearLastViewedTime

### setLastViewedTime

time when this dashboard is last viewed

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` |

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

### getIsPinned

is dashboard pinned by user

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

### setIsPinned

is dashboard pinned by user

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

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