Class: Google::Apis::CloudsearchV1::SuggestResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::SuggestResponse
- 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
Response of the suggest API.
Instance Attribute Summary collapse
-
#suggest_results ⇒ Array<Google::Apis::CloudsearchV1::SuggestResult>
List of suggestions.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SuggestResponse
constructor
A new instance of SuggestResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SuggestResponse
Returns a new instance of SuggestResponse.
16309 16310 16311 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16309 def initialize(**args) update!(**args) end |
Instance Attribute Details
#suggest_results ⇒ Array<Google::Apis::CloudsearchV1::SuggestResult>
List of suggestions.
Corresponds to the JSON property suggestResults
16307 16308 16309 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16307 def suggest_results @suggest_results end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16314 16315 16316 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 16314 def update!(**args) @suggest_results = args[:suggest_results] if args.key?(:suggest_results) end |