Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class Card.
The card response message.
Generated from protobuf message google.cloud.dialogflow.v2.Intent.Message.Card
Namespace
Google \ Cloud \ Dialogflow \ V2 \ Intent \ MessageMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ title
string
Optional. The title of the card.
↳ subtitle
string
Optional. The subtitle of the card.
↳ image_uri
string
Optional. The public URI to an image file for the card.
↳ buttons
array< Google\Cloud\Dialogflow\V2\Intent\Message\Card\Button
>
Optional. The collection of card buttons.
getTitle
Optional. The title of the card.
string
setTitle
Optional. The title of the card.
var
string
$this
getSubtitle
Optional. The subtitle of the card.
string
setSubtitle
Optional. The subtitle of the card.
var
string
$this
getImageUri
Optional. The public URI to an image file for the card.
string
setImageUri
Optional. The public URI to an image file for the card.
var
string
$this
getButtons
Optional. The collection of card buttons.
setButtons
Optional. The collection of card buttons.
$this