Class: Google::Apis::DialogflowV2beta1::IntentMessageListSelect
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::IntentMessageListSelect
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/dialogflow_v2beta1/classes.rb,
generated/google/apis/dialogflow_v2beta1/representations.rb,
generated/google/apis/dialogflow_v2beta1/representations.rb
Overview
The card for presenting a list of options to select from.
Instance Attribute Summary collapse
-
#items ⇒ Array<Google::Apis::DialogflowV2beta1::IntentMessageListSelectItem>
Required.
-
#title ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ IntentMessageListSelect
constructor
A new instance of IntentMessageListSelect.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ IntentMessageListSelect
Returns a new instance of IntentMessageListSelect
1365 1366 1367 |
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 1365 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::DialogflowV2beta1::IntentMessageListSelectItem>
Required. List items.
Corresponds to the JSON property items
1358 1359 1360 |
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 1358 def items @items end |
#title ⇒ String
Optional. The overall title of the list.
Corresponds to the JSON property title
1363 1364 1365 |
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 1363 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1370 1371 1372 1373 |
# File 'generated/google/apis/dialogflow_v2beta1/classes.rb', line 1370 def update!(**args) @items = args[:items] if args.key?(:items) @title = args[:title] if args.key?(:title) end |