Google Cloud Dialogflow V2 Client - Class BrowseCarouselCard (1.2.0)

Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class BrowseCarouselCard.

Browse Carousel Card for Actions on Google.

https://developers.google.com/actions/assistant/responses#browsing_carousel

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

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ items
array< Google\Cloud\Dialogflow\V2\Intent\Message\BrowseCarouselCard\BrowseCarouselCardItem >

Required. List of items in the Browse Carousel Card. Minimum of two items, maximum of ten.

↳ image_display_options
int

Optional. Settings for displaying the image. Applies to every image in items .

getItems

Required. List of items in the Browse Carousel Card. Minimum of two items, maximum of ten.

Returns
Type
Description

setItems

Required. List of items in the Browse Carousel Card. Minimum of two items, maximum of ten.

Returns
Type
Description
$this

getImageDisplayOptions

Optional. Settings for displaying the image. Applies to every image in items .

Returns
Type
Description
int

setImageDisplayOptions

Optional. Settings for displaying the image. Applies to every image in items .

Parameter
Name
Description
var
int
Returns
Type
Description
$this