0.31.0 (latest) 0.30.0 0.29.0 0.28.0 0.27.0 0.23.0 0.20.0 0.19.0 0.18.0 0.17.1 0.16.1 0.15.0 0.14.0 0.13.1 0.12.1 0.11.2 0.10.0 0.9.0 0.8.1 0.7.2 0.6.1 0.5.0 0.4.0 0.3.0 0.2.0 0.1.4 Reference documentation and code samples for the Google Apps Chat V1 Client class Widgets.

The supported widgets that you can include in a column.

[Google Workspace add-ons and Chat
apps](https://developers.google.com/workspace/extend)

Generated from protobuf message `google.apps.card.v1.Columns.Column.Widgets`

## Namespace

Google \\ Apps \\ Card \\ V1 \\ Columns \\ Column

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ text_paragraph` | `Google\Apps\Card\V1\TextParagraph` [TextParagraph](https://docs.cloud.google.com/php/docs/reference/apps-chat/latest/Card.V1.TextParagraph.md.txt) widget. |
| `↳ image` | `Google\Apps\Card\V1\Image` [Image](https://docs.cloud.google.com/php/docs/reference/apps-chat/latest/Card.V1.Image.md.txt) widget. |
| `↳ decorated_text` | `Google\Apps\Card\V1\DecoratedText` [DecoratedText](https://docs.cloud.google.com/php/docs/reference/apps-chat/latest/Card.V1.DecoratedText.md.txt) widget. |
| `↳ button_list` | `Google\Apps\Card\V1\ButtonList` [ButtonList](https://docs.cloud.google.com/php/docs/reference/apps-chat/latest/Card.V1.ButtonList.md.txt) widget. |
| `↳ text_input` | `Google\Apps\Card\V1\TextInput` [TextInput](https://docs.cloud.google.com/php/docs/reference/apps-chat/latest/Card.V1.TextInput.md.txt) widget. |
| `↳ selection_input` | `Google\Apps\Card\V1\SelectionInput` [SelectionInput](https://docs.cloud.google.com/php/docs/reference/apps-chat/latest/Card.V1.SelectionInput.md.txt) widget. |
| `↳ date_time_picker` | `Google\Apps\Card\V1\DateTimePicker` [DateTimePicker](https://docs.cloud.google.com/php/docs/reference/apps-chat/latest/Card.V1.DateTimePicker.md.txt) widget. |
| `↳ chip_list` | `Google\Apps\Card\V1\ChipList` [ChipList](https://docs.cloud.google.com/php/docs/reference/apps-chat/latest/Card.V1.ChipList.md.txt) widget. |

### getTextParagraph

[TextParagraph](https://docs.cloud.google.com/php/docs/reference/apps-chat/latest/Card.V1.TextParagraph.md.txt) widget.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Apps\Card\V1\TextParagraph|null` |   |

### hasTextParagraph

### setTextParagraph

[TextParagraph](https://docs.cloud.google.com/php/docs/reference/apps-chat/latest/Card.V1.TextParagraph.md.txt) widget.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Apps\Card\V1\TextParagraph` |

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

### getImage

[Image](https://docs.cloud.google.com/php/docs/reference/apps-chat/latest/Card.V1.Image.md.txt) widget.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Apps\Card\V1\Image|null` |   |

### hasImage

### setImage

[Image](https://docs.cloud.google.com/php/docs/reference/apps-chat/latest/Card.V1.Image.md.txt) widget.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Apps\Card\V1\Image` |

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

### getDecoratedText

[DecoratedText](https://docs.cloud.google.com/php/docs/reference/apps-chat/latest/Card.V1.DecoratedText.md.txt) widget.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Apps\Card\V1\DecoratedText|null` |   |

### hasDecoratedText

### setDecoratedText

[DecoratedText](https://docs.cloud.google.com/php/docs/reference/apps-chat/latest/Card.V1.DecoratedText.md.txt) widget.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Apps\Card\V1\DecoratedText` |

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

### getButtonList

[ButtonList](https://docs.cloud.google.com/php/docs/reference/apps-chat/latest/Card.V1.ButtonList.md.txt) widget.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Apps\Card\V1\ButtonList|null` |   |

### hasButtonList

### setButtonList

[ButtonList](https://docs.cloud.google.com/php/docs/reference/apps-chat/latest/Card.V1.ButtonList.md.txt) widget.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Apps\Card\V1\ButtonList` |

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

### getTextInput

[TextInput](https://docs.cloud.google.com/php/docs/reference/apps-chat/latest/Card.V1.TextInput.md.txt) widget.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Apps\Card\V1\TextInput|null` |   |

### hasTextInput

### setTextInput

[TextInput](https://docs.cloud.google.com/php/docs/reference/apps-chat/latest/Card.V1.TextInput.md.txt) widget.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Apps\Card\V1\TextInput` |

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

### getSelectionInput

[SelectionInput](https://docs.cloud.google.com/php/docs/reference/apps-chat/latest/Card.V1.SelectionInput.md.txt) widget.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Apps\Card\V1\SelectionInput|null` |   |

### hasSelectionInput

### setSelectionInput

[SelectionInput](https://docs.cloud.google.com/php/docs/reference/apps-chat/latest/Card.V1.SelectionInput.md.txt) widget.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Apps\Card\V1\SelectionInput` |

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

### getDateTimePicker

[DateTimePicker](https://docs.cloud.google.com/php/docs/reference/apps-chat/latest/Card.V1.DateTimePicker.md.txt) widget.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Apps\Card\V1\DateTimePicker|null` |   |

### hasDateTimePicker

### setDateTimePicker

[DateTimePicker](https://docs.cloud.google.com/php/docs/reference/apps-chat/latest/Card.V1.DateTimePicker.md.txt) widget.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Apps\Card\V1\DateTimePicker` |

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

### getChipList

[ChipList](https://docs.cloud.google.com/php/docs/reference/apps-chat/latest/Card.V1.ChipList.md.txt) widget.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `Google\Apps\Card\V1\ChipList|null` |   |

### hasChipList

### setChipList

[ChipList](https://docs.cloud.google.com/php/docs/reference/apps-chat/latest/Card.V1.ChipList.md.txt) widget.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `Google\Apps\Card\V1\ChipList` |

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

### getData

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