Class: Google::Apis::CloudsearchV1::ResultCounts

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

Result count information

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ResultCounts

Returns a new instance of ResultCounts.



6563
6564
6565
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6563

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

Instance Attribute Details

#source_result_countsArray<Google::Apis::CloudsearchV1::SourceResultCount>

Result count information for each source with results. Corresponds to the JSON property sourceResultCounts



6561
6562
6563
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6561

def source_result_counts
  @source_result_counts
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6568
6569
6570
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 6568

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