Class: Google::Apis::CloudsearchV1::AppsDynamiteStorageSuggestions

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AppsDynamiteStorageSuggestions

Returns a new instance of AppsDynamiteStorageSuggestions.



3619
3620
3621
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3619

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#itemsArray<Google::Apis::CloudsearchV1::AppsDynamiteStorageSuggestionsSuggestionItem>

A list of suggestions items which will be used in are used in autocomplete. Corresponds to the JSON property items



3617
3618
3619
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3617

def items
  @items
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3624
3625
3626
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3624

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