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

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 card response message.

Defined Under Namespace

Classes: Button

Instance Attribute Summary collapse

Instance Attribute Details

#buttons::Array<::Google::Cloud::Dialogflow::V2::Intent::Message::Card::Button>

Returns Optional. The collection of card buttons.

Returns:



373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
# File 'proto_docs/google/cloud/dialogflow/v2/intent.rb', line 373

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

  # 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
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#image_uri::String

Returns Optional. The public URI to an image file for the card.

Returns:

  • (::String)

    Optional. The public URI to an image file for the card.



373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
# File 'proto_docs/google/cloud/dialogflow/v2/intent.rb', line 373

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

  # 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
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#subtitle::String

Returns Optional. The subtitle of the card.

Returns:

  • (::String)

    Optional. The subtitle of the card.



373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
# File 'proto_docs/google/cloud/dialogflow/v2/intent.rb', line 373

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

  # 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
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end

#title::String

Returns Optional. The title of the card.

Returns:

  • (::String)

    Optional. The title of the card.



373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
# File 'proto_docs/google/cloud/dialogflow/v2/intent.rb', line 373

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

  # 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
    include ::Google::Protobuf::MessageExts
    extend ::Google::Protobuf::MessageExts::ClassMethods
  end
end