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.



5781
5782
5783
# File 'lib/google/apis/chat_v1/classes.rb', line 5781

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



5779
5780
5781
# File 'lib/google/apis/chat_v1/classes.rb', line 5779

def items
  @items
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5786
5787
5788
# File 'lib/google/apis/chat_v1/classes.rb', line 5786

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