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:



404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb', line 404

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.



404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
# File 'lib/google/cloud/dialogflow/v2/doc/google/cloud/dialogflow/v2/intent.rb', line 404

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