class Google::Apis::CloudsearchV1::SourceResultCount

Per source result count information.

Attributes

has_more_results[RW]

Whether there are more search results for this source. Corresponds to the JSON property `hasMoreResults` @return [Boolean]

has_more_results?[RW]

Whether there are more search results for this source. Corresponds to the JSON property `hasMoreResults` @return [Boolean]

result_count_estimate[RW]

The estimated result count for this source. Corresponds to the JSON property `resultCountEstimate` @return [Fixnum]

result_count_exact[RW]

The exact result count for this source. Corresponds to the JSON property `resultCountExact` @return [Fixnum]

source[RW]

Defines sources for the suggest/search APIs. Corresponds to the JSON property `source` @return [Google::Apis::CloudsearchV1::Source]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/cloudsearch_v1/classes.rb, line 4543
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/cloudsearch_v1/classes.rb, line 4548
def update!(**args)
  @has_more_results = args[:has_more_results] if args.key?(:has_more_results)
  @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)
  @source = args[:source] if args.key?(:source)
end