Class: Google::Cloud::Dialogflow::V2::Intent::Message::Card
- Inherits:
-
Object
- Object
- Google::Cloud::Dialogflow::V2::Intent::Message::Card
- Defined in:
- lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb
Overview
The card response message.
Defined Under Namespace
Classes: Button
Instance Attribute Summary collapse
-
#buttons ⇒ Array<Google::Cloud::Dialogflow::V2::Intent::Message::Card::Button>
Optional.
-
#image_uri ⇒ String
Optional.
-
#subtitle ⇒ String
Optional.
-
#title ⇒ String
Optional.
Instance Attribute Details
#buttons ⇒ Array<Google::Cloud::Dialogflow::V2::Intent::Message::Card::Button>
Returns Optional. The collection of card buttons.
285 286 287 288 289 290 291 292 293 294 295 |
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb', line 285 class Card # Optional. Contains information about a button. # @!attribute [rw] text # @return [String] # Optional. The text to show on the button. # @!attribute [rw] postback # @return [String] # Optional. The text to send back to the Dialogflow API or a URI to # open. class Button; end end |
#image_uri ⇒ String
Returns Optional. The public URI to an image file for the card.
285 286 287 288 289 290 291 292 293 294 295 |
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb', line 285 class Card # Optional. Contains information about a button. # @!attribute [rw] text # @return [String] # Optional. The text to show on the button. # @!attribute [rw] postback # @return [String] # Optional. The text to send back to the Dialogflow API or a URI to # open. class Button; end end |
#subtitle ⇒ String
Returns Optional. The subtitle of the card.
285 286 287 288 289 290 291 292 293 294 295 |
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb', line 285 class Card # Optional. Contains information about a button. # @!attribute [rw] text # @return [String] # Optional. The text to show on the button. # @!attribute [rw] postback # @return [String] # Optional. The text to send back to the Dialogflow API or a URI to # open. class Button; end end |
#title ⇒ String
Returns Optional. The title of the card.
285 286 287 288 289 290 291 292 293 294 295 |
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb', line 285 class Card # Optional. Contains information about a button. # @!attribute [rw] text # @return [String] # Optional. The text to show on the button. # @!attribute [rw] postback # @return [String] # Optional. The text to send back to the Dialogflow API or a URI to # open. class Button; end end |