Google Cloud Dialogflow V2 Client - Class CarouselSelect (1.3.2)

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

Methods

__construct

Constructor.

Parameters
NameDescription
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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setItems

Required. Carousel items.

Parameter
NameDescription
var array<Google\Cloud\Dialogflow\V2\Intent\Message\CarouselSelect\Item>
Returns
TypeDescription
$this