Google Cloud Dialogflow V2 Client - Class BrowseCarouselCard (1.17.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

Namespace

Google \ Cloud \ Dialogflow \ V2 \ Intent \ Message

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ items array<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
Google\Protobuf\Internal\RepeatedField

setItems

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

Parameter
Name Description
var array<BrowseCarouselCard\BrowseCarouselCardItem>
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