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

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 for presenting a list of options to select from.

Defined Under Namespace

Classes: Item

Instance Attribute Summary collapse

Instance Attribute Details

#itemsArray<Google::Cloud::Dialogflow::V2::Intent::Message::ListSelect::Item>

Returns Required. List items.

Returns:



479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
# File 'proto_docs/google/cloud/dialogflow/v2/intent.rb', line 479

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

  # An item in the list.
  # @!attribute [rw] info
  #   @return [Google::Cloud::Dialogflow::V2::Intent::Message::SelectItemInfo]
  #     Required. Additional information about this option.
  # @!attribute [rw] title
  #   @return [String]
  #     Required. The title of the list item.
  # @!attribute [rw] description
  #   @return [String]
  #     Optional. The main text describing the item.
  # @!attribute [rw] image
  #   @return [Google::Cloud::Dialogflow::V2::Intent::Message::Image]
  #     Optional. The image to display.
  class Item
    include Google::Protobuf::MessageExts
    extend Google::Protobuf::MessageExts::ClassMethods
  end
end

#subtitleString

Returns Optional. Subtitle of the list.

Returns:

  • (String)

    Optional. Subtitle of the list.



479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
# File 'proto_docs/google/cloud/dialogflow/v2/intent.rb', line 479

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

  # An item in the list.
  # @!attribute [rw] info
  #   @return [Google::Cloud::Dialogflow::V2::Intent::Message::SelectItemInfo]
  #     Required. Additional information about this option.
  # @!attribute [rw] title
  #   @return [String]
  #     Required. The title of the list item.
  # @!attribute [rw] description
  #   @return [String]
  #     Optional. The main text describing the item.
  # @!attribute [rw] image
  #   @return [Google::Cloud::Dialogflow::V2::Intent::Message::Image]
  #     Optional. The image to display.
  class Item
    include Google::Protobuf::MessageExts
    extend Google::Protobuf::MessageExts::ClassMethods
  end
end

#titleString

Returns Optional. The overall title of the list.

Returns:

  • (String)

    Optional. The overall title of the list.



479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
# File 'proto_docs/google/cloud/dialogflow/v2/intent.rb', line 479

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

  # An item in the list.
  # @!attribute [rw] info
  #   @return [Google::Cloud::Dialogflow::V2::Intent::Message::SelectItemInfo]
  #     Required. Additional information about this option.
  # @!attribute [rw] title
  #   @return [String]
  #     Required. The title of the list item.
  # @!attribute [rw] description
  #   @return [String]
  #     Optional. The main text describing the item.
  # @!attribute [rw] image
  #   @return [Google::Cloud::Dialogflow::V2::Intent::Message::Image]
  #     Optional. The image to display.
  class Item
    include Google::Protobuf::MessageExts
    extend Google::Protobuf::MessageExts::ClassMethods
  end
end