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.



4420
4421
4422
# File 'lib/google/apis/chat_v1/classes.rb', line 4420

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



4418
4419
4420
# File 'lib/google/apis/chat_v1/classes.rb', line 4418

def items
  @items
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4425
4426
4427
# File 'lib/google/apis/chat_v1/classes.rb', line 4425

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