Class: Google::Apis::ChatV1::SelectionItems

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SelectionItems

Returns a new instance of SelectionItems.



6156
6157
6158
# File 'lib/google/apis/chat_v1/classes.rb', line 6156

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#itemsArray<Google::Apis::ChatV1::GoogleAppsCardV1SelectionItem>

An array of the SelectionItem objects. Corresponds to the JSON property items



6154
6155
6156
# File 'lib/google/apis/chat_v1/classes.rb', line 6154

def items
  @items
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6161
6162
6163
# File 'lib/google/apis/chat_v1/classes.rb', line 6161

def update!(**args)
  @items = args[:items] if args.key?(:items)
end