class Google::Apis::CloudsearchV1::SearchResponse
The search API response.
Attributes
Debugging information about the response. Corresponds to the JSON property `debugInfo` @return [Google::Apis::CloudsearchV1::ResponseDebugInfo]
Error information about the response. Corresponds to the JSON property `errorInfo` @return [Google::Apis::CloudsearchV1::ErrorInfo]
Repeated facet results. Corresponds to the JSON property `facetResults` @return [Array<Google::Apis::CloudsearchV1::FacetResult>]
Whether there are more search results matching the query. Corresponds to the JSON property `hasMoreResults` @return [Boolean]
Whether there are more search results matching the query. Corresponds to the JSON property `hasMoreResults` @return [Boolean]
Query interpretation result for user query. Empty if query interpretation is disabled. Corresponds to the JSON property `queryInterpretation` @return [Google::Apis::CloudsearchV1::QueryInterpretation]
The estimated result count for this query. Corresponds to the JSON property `resultCountEstimate` @return [Fixnum]
The exact result count for this query. Corresponds to the JSON property `resultCountExact` @return [Fixnum]
Result count information Corresponds to the JSON property `resultCounts` @return [Google::Apis::CloudsearchV1::ResultCounts]
Results from a search query. Corresponds to the JSON property `results` @return [Array<Google::Apis::CloudsearchV1::SearchResult>]
Suggested spelling for the query. Corresponds to the JSON property `spellResults` @return [Array<Google::Apis::CloudsearchV1::SpellResult>]
Structured results for the user query. These results are not counted against the page_size. Corresponds to the JSON property `structuredResults` @return [Array<Google::Apis::CloudsearchV1::StructuredResult>]
Public Class Methods
# File lib/google/apis/cloudsearch_v1/classes.rb, line 4300 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/cloudsearch_v1/classes.rb, line 4305 def update!(**args) @debug_info = args[:debug_info] if args.key?(:debug_info) @error_info = args[:error_info] if args.key?(:error_info) @facet_results = args[:facet_results] if args.key?(:facet_results) @has_more_results = args[:has_more_results] if args.key?(:has_more_results) @query_interpretation = args[:query_interpretation] if args.key?(:query_interpretation) @result_count_estimate = args[:result_count_estimate] if args.key?(:result_count_estimate) @result_count_exact = args[:result_count_exact] if args.key?(:result_count_exact) @result_counts = args[:result_counts] if args.key?(:result_counts) @results = args[:results] if args.key?(:results) @spell_results = args[:spell_results] if args.key?(:spell_results) @structured_results = args[:structured_results] if args.key?(:structured_results) end