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 \ MessageMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ items |
array<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<CarouselSelect\Item>
|
Returns | |
---|---|
Type | Description |
$this |