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

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/dialogflow/v2/doc/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:



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

class ListSelect
  # 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; end
end

#titleString

Returns Optional. The overall title of the list.

Returns:

  • (String)

    Optional. The overall title of the list.



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

class ListSelect
  # 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; end
end