Class: Google::Apis::ChatV1::GoogleAppsCardV1Suggestions
- Inherits:
-
Object
- Object
- Google::Apis::ChatV1::GoogleAppsCardV1Suggestions
- 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
A container wrapping elements necessary for showing suggestion items used in text input autocomplete.
Instance Attribute Summary collapse
-
#items ⇒ Array<Google::Apis::ChatV1::GoogleAppsCardV1SuggestionItem>
A list of suggestions used for autocomplete recommendations.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAppsCardV1Suggestions
constructor
A new instance of GoogleAppsCardV1Suggestions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleAppsCardV1Suggestions
Returns a new instance of GoogleAppsCardV1Suggestions.
2009 2010 2011 |
# File 'lib/google/apis/chat_v1/classes.rb', line 2009 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::ChatV1::GoogleAppsCardV1SuggestionItem>
A list of suggestions used for autocomplete recommendations.
Corresponds to the JSON property items
2007 2008 2009 |
# File 'lib/google/apis/chat_v1/classes.rb', line 2007 def items @items end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2014 2015 2016 |
# File 'lib/google/apis/chat_v1/classes.rb', line 2014 def update!(**args) @items = args[:items] if args.key?(:items) end |