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

Generated from protobuf message `google.cloud.chronicle.v1.Button.Properties`

## Namespace

Google \\ Cloud \\ Chronicle \\ V1 \\ Button

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ color` | `string` |
| `↳ button_style` | `int` |

### getColor

Generated from protobuf field `string color = 1 [(.google.api.field_behavior) = OPTIONAL];`

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

### setColor

Generated from protobuf field `string color = 1 [(.google.api.field_behavior) = OPTIONAL];`

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

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

### getButtonStyle

Generated from protobuf field `.google.cloud.chronicle.v1.ButtonStyle button_style = 2 [(.google.api.field_behavior) = OPTIONAL];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setButtonStyle

Generated from protobuf field `.google.cloud.chronicle.v1.ButtonStyle button_style = 2 [(.google.api.field_behavior) = OPTIONAL];`

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

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