Class: Google::Cloud::Dialogflow::V2::Intent::Message::Card::Button

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dialogflow/v2/intent.rb

Overview

Contains information about a button.

Instance Attribute Summary collapse

Instance Attribute Details

#postback::String

Returns Optional. The text to send back to the Dialogflow API or a URI to open.

Returns:

  • (::String)

    Optional. The text to send back to the Dialogflow API or a URI to open.



385
386
387
388
# File 'proto_docs/google/cloud/dialogflow/v2/intent.rb', line 385

class Button
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#text::String

Returns Optional. The text to show on the button.

Returns:

  • (::String)

    Optional. The text to show on the button.



385
386
387
388
# File 'proto_docs/google/cloud/dialogflow/v2/intent.rb', line 385

class Button
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end