Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageListSelect
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageListSelect
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/representations.rb
Instance Attribute Summary collapse
-
#items ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageListSelectItem>
Corresponds to the JSON property
items. -
#subtitle ⇒ String
Corresponds to the JSON property
subtitle. -
#title ⇒ String
Corresponds to the JSON property
title.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2IntentMessageListSelect
constructor
A new instance of GoogleCloudDialogflowV2IntentMessageListSelect.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2IntentMessageListSelect
Returns a new instance of GoogleCloudDialogflowV2IntentMessageListSelect.
12557 12558 12559 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12557 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentMessageListSelectItem>
Corresponds to the JSON property items
12545 12546 12547 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12545 def items @items end |
#subtitle ⇒ String
Corresponds to the JSON property subtitle
12550 12551 12552 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12550 def subtitle @subtitle end |
#title ⇒ String
Corresponds to the JSON property title
12555 12556 12557 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12555 def title @title end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
12562 12563 12564 12565 12566 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 12562 def update!(**args) @items = args[:items] if args.key?(:items) @subtitle = args[:subtitle] if args.key?(:subtitle) @title = args[:title] if args.key?(:title) end |