Class: Google::Apis::CloudsearchV1::ResultCounts
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::ResultCounts
- Defined in:
- generated/google/apis/cloudsearch_v1/classes.rb,
generated/google/apis/cloudsearch_v1/representations.rb,
generated/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.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ ResultCounts
Returns a new instance of ResultCounts
3350 3351 3352 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3350 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
3348 3349 3350 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3348 def source_result_counts @source_result_counts end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3355 3356 3357 |
# File 'generated/google/apis/cloudsearch_v1/classes.rb', line 3355 def update!(**args) @source_result_counts = args[:source_result_counts] if args.key?(:source_result_counts) end |