Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class Item.
An item in the carousel.
Generated from protobuf message google.cloud.dialogflow.v2.Intent.Message.CarouselSelect.Item
Namespace
Google \ Cloud \ Dialogflow \ V2 \ Intent \ Message \ CarouselSelectMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ info
Google\Cloud\Dialogflow\V2\Intent\Message\SelectItemInfo
Required. Additional info about the option item.
↳ title
string
Required. Title of the carousel item.
↳ description
string
Optional. The body text of the card.
↳ image
getInfo
Required. Additional info about the option item.
hasInfo
clearInfo
setInfo
Required. Additional info about the option item.
$this
getTitle
Required. Title of the carousel item.
string
setTitle
Required. Title of the carousel item.
var
string
$this
getDescription
Optional. The body text of the card.
string
setDescription
Optional. The body text of the card.
var
string
$this
getImage
Optional. The image to display.
hasImage
clearImage
setImage
Optional. The image to display.
$this