0.9.0 (latest) 0.8.0 0.7.2 0.5.0 0.4.0 0.3.0 0.2.3 0.1.2 Reference documentation and code samples for the Google Cloud Chronicle Client class Label.

Key value labels.

Generated from protobuf message `google.backstory.Label`

## Namespace

Google \\ Backstory

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ key` | `string` The key. |
| `↳ value` | `string` The value. |
| `↳ source` | `string` Where the label is derived from. |
| `↳ rbac_enabled` | `bool` Indicates whether this label can be used for Data RBAC |

### getKey

The key.

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

### setKey

The key.

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

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

### getValue

The value.

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

### setValue

The value.

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

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

### getSource

Where the label is derived from.

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

### setSource

Where the label is derived from.

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

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

### getRbacEnabled

Indicates whether this label can be used for Data RBAC

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

### setRbacEnabled

Indicates whether this label can be used for Data RBAC

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

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