Google Cloud Dialogflow V2 Client - Class CarouselSelect (1.14.0)

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

The card for presenting a carousel of options to select from.

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

Namespace

Google \ Cloud \ Dialogflow \ V2 \ Intent \ Message

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ items array<Google\Cloud\Dialogflow\V2\Intent\Message\CarouselSelect\Item>

Required. Carousel items.

getItems

Required. Carousel items.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setItems

Required. Carousel items.

Parameter
Name Description
var array<Google\Cloud\Dialogflow\V2\Intent\Message\CarouselSelect\Item>
Returns
Type Description
$this