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.



4885
4886
4887
# File 'lib/google/apis/chat_v1/classes.rb', line 4885

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



4883
4884
4885
# File 'lib/google/apis/chat_v1/classes.rb', line 4883

def items
  @items
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4890
4891
4892
# File 'lib/google/apis/chat_v1/classes.rb', line 4890

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