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

A collection of user preferences for watchlist UI configuration.

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

## Namespace

Google \\ Cloud \\ Chronicle \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ pinned` | `bool` Optional. Whether the watchlist is pinned on the dashboard. |

### getPinned

Optional. Whether the watchlist is pinned on the dashboard.

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

### setPinned

Optional. Whether the watchlist is pinned on the dashboard.

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

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