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
Methods
__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.
Generated from protobuf field string title = 1 [(.google.api.field_behavior) = OPTIONAL];
string
setTitle
Optional. The title of the card.
Generated from protobuf field string title = 1 [(.google.api.field_behavior) = OPTIONAL];
var
string
$this
getSubtitle
Optional. The subtitle of the card.
Generated from protobuf field string subtitle = 2 [(.google.api.field_behavior) = OPTIONAL];
string
setSubtitle
Optional. The subtitle of the card.
Generated from protobuf field string subtitle = 2 [(.google.api.field_behavior) = OPTIONAL];
var
string
$this
getImageUri
Optional. The public URI to an image file for the card.
Generated from protobuf field string image_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
string
setImageUri
Optional. The public URI to an image file for the card.
Generated from protobuf field string image_uri = 3 [(.google.api.field_behavior) = OPTIONAL];
var
string
$this
getButtons
Optional. The collection of card buttons.
Generated from protobuf field repeated .google.cloud.dialogflow.v2.Intent.Message.Card.Button buttons = 4 [(.google.api.field_behavior) = OPTIONAL];
Google\Protobuf\Internal\RepeatedField
setButtons
Optional. The collection of card buttons.
Generated from protobuf field repeated .google.cloud.dialogflow.v2.Intent.Message.Card.Button buttons = 4 [(.google.api.field_behavior) = OPTIONAL];
$this