Class: Google::Apis::CloudsearchV1::AppsDynamiteSharedSuggestions
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::AppsDynamiteSharedSuggestions
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_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::CloudsearchV1::AppsDynamiteSharedSuggestionsSuggestionItem>
A list of suggestions items which will be used in are used in autocomplete.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AppsDynamiteSharedSuggestions
constructor
A new instance of AppsDynamiteSharedSuggestions.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AppsDynamiteSharedSuggestions
Returns a new instance of AppsDynamiteSharedSuggestions.
3338 3339 3340 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3338 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::CloudsearchV1::AppsDynamiteSharedSuggestionsSuggestionItem>
A list of suggestions items which will be used in are used in autocomplete.
Corresponds to the JSON property items
3336 3337 3338 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3336 def items @items end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3343 3344 3345 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3343 def update!(**args) @items = args[:items] if args.key?(:items) end |