Class: Google::Cloud::Dialogflow::V2::Intent::Message::BasicCard::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

The button object that appears at the bottom of a card.

Defined Under Namespace

Classes: OpenUriAction

Instance Attribute Summary collapse

Instance Attribute Details

#open_uri_actionGoogle::Cloud::Dialogflow::V2::Intent::Message::BasicCard::Button::OpenUriAction

Returns Required. Action to take when a user taps on the button.

Returns:



421
422
423
424
425
426
427
428
429
430
431
432
433
# File 'proto_docs/google/cloud/dialogflow/v2/intent.rb', line 421

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

  # Opens the given URI.
  # @!attribute [rw] uri
  #   @return [String]
  #     Required. The HTTP or HTTPS scheme URI.
  class OpenUriAction
    include Google::Protobuf::MessageExts
    extend Google::Protobuf::MessageExts::ClassMethods
  end
end

#titleString

Returns Required. The title of the button.

Returns:

  • (String)

    Required. The title of the button.



421
422
423
424
425
426
427
428
429
430
431
432
433
# File 'proto_docs/google/cloud/dialogflow/v2/intent.rb', line 421

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

  # Opens the given URI.
  # @!attribute [rw] uri
  #   @return [String]
  #     Required. The HTTP or HTTPS scheme URI.
  class OpenUriAction
    include Google::Protobuf::MessageExts
    extend Google::Protobuf::MessageExts::ClassMethods
  end
end