Class: Google::Apis::ChatV1::SelectionItems
- Inherits:
-
Object
- Object
- Google::Apis::ChatV1::SelectionItems
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/chat_v1/classes.rb,
lib/google/apis/chat_v1/representations.rb,
lib/google/apis/chat_v1/representations.rb
Overview
List of widget autocomplete results.
Instance Attribute Summary collapse
-
#items ⇒ Array<Google::Apis::ChatV1::GoogleAppsCardV1SelectionItem>
An array of the SelectionItem objects.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SelectionItems
constructor
A new instance of SelectionItems.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SelectionItems
Returns a new instance of SelectionItems.
4525 4526 4527 |
# File 'lib/google/apis/chat_v1/classes.rb', line 4525 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::ChatV1::GoogleAppsCardV1SelectionItem>
An array of the SelectionItem objects.
Corresponds to the JSON property items
4523 4524 4525 |
# File 'lib/google/apis/chat_v1/classes.rb', line 4523 def items @items end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4530 4531 4532 |
# File 'lib/google/apis/chat_v1/classes.rb', line 4530 def update!(**args) @items = args[:items] if args.key?(:items) end |