Class: Google::Apis::CloudsearchV1::SuggestResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::SuggestResponse
- Defined in:
- generated/google/apis/cloudsearch_v1/classes.rb,
generated/google/apis/cloudsearch_v1/representations.rb,
generated/google/apis/cloudsearch_v1/representations.rb
Overview
Response of the suggest API.
Instance Attribute Summary collapse
-
#suggest_results ⇒ Array<Google::Apis::CloudsearchV1::SuggestResult>
List of suggestion results.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SuggestResponse
constructor
A new instance of SuggestResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ SuggestResponse
Returns a new instance of SuggestResponse
4307 4308 4309 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 4307 def initialize(**args) update!(**args) end |
Instance Attribute Details
#suggest_results ⇒ Array<Google::Apis::CloudsearchV1::SuggestResult>
List of suggestion results.
Corresponds to the JSON property suggestResults
4305 4306 4307 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 4305 def suggest_results @suggest_results end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4312 4313 4314 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 4312 def update!(**args) @suggest_results = args[:suggest_results] if args.key?(:suggest_results) end |