# Google Cloud Dialogflow V2 Client - Class BrowseCarouselCardItem (2.4.0)

2.4.0 (latest) 2.3.1 2.2.1 2.1.2 2.0.1 1.17.2 1.16.0 1.15.1 1.14.0 1.13.0 1.12.3 1.11.0 1.10.2 1.9.0 1.8.0 1.7.2 1.6.0 1.5.0 1.4.0 1.3.2 1.2.0 1.1.1 1.0.1 Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class BrowseCarouselCardItem.

Browsing carousel tile

Generated from protobuf message `google.cloud.dialogflow.v2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem`

## Namespace

Google \\ Cloud \\ Dialogflow \\ V2 \\ Intent \\ Message \\ BrowseCarouselCard

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ open_uri_action` | `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow/latest/V2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction` Required. Action to present to the user. |
| `↳ title` | `string` Required. Title of the carousel item. Maximum of two lines of text. |
| `↳ description` | `string` Optional. Description of the carousel item. Maximum of four lines of text. |
| `↳ image` | `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow/latest/V2.Intent.Message.Image` Optional. Hero image for the carousel item. |
| `↳ footer` | `string` Optional. Text that appears at the bottom of the Browse Carousel Card. Maximum of one line of text. |

### getOpenUriAction

Required. Action to present to the user.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow/latest/V2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction|null` |   |

### hasOpenUriAction

### clearOpenUriAction

### setOpenUriAction

Required. Action to present to the user.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow/latest/V2.Intent.Message.BrowseCarouselCard.BrowseCarouselCardItem.OpenUrlAction` |

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

### getTitle

Required. Title of the carousel item. Maximum of two lines of text.

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

### setTitle

Required. Title of the carousel item. Maximum of two lines of text.

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

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

### getDescription

Optional. Description of the carousel item. Maximum of four lines of
text.

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

### setDescription

Optional. Description of the carousel item. Maximum of four lines of
text.

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

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

### getImage

Optional. Hero image for the carousel item.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow/latest/V2.Intent.Message.Image|null` |   |

### hasImage

### clearImage

### setImage

Optional. Hero image for the carousel item.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dialogflow/latest/V2.Intent.Message.Image` |

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

### getFooter

Optional. Text that appears at the bottom of the Browse Carousel
Card. Maximum of one line of text.

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

### setFooter

Optional. Text that appears at the bottom of the Browse Carousel
Card. Maximum of one line of text.

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

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