Class: Google::Apis::CloudsearchV1::ResultCounts
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::ResultCounts
- 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
-
#source_result_counts ⇒ Array<Google::Apis::CloudsearchV1::SourceResultCount>
Result count information for each source with results.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ResultCounts
constructor
A new instance of ResultCounts.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ResultCounts
Returns a new instance of ResultCounts.
17543 17544 17545 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17543 def initialize(**args) update!(**args) end |
Instance Attribute Details
#source_result_counts ⇒ Array<Google::Apis::CloudsearchV1::SourceResultCount>
Result count information for each source with results.
Corresponds to the JSON property sourceResultCounts
17541 17542 17543 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17541 def source_result_counts @source_result_counts end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17548 17549 17550 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 17548 def update!(**args) @source_result_counts = args[:source_result_counts] if args.key?(:source_result_counts) end |