Class: Google::Apis::CloudsearchV1::GetCustomerQueryStatsResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::GetCustomerQueryStatsResponse
- 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
Instance Attribute Summary collapse
-
#stats ⇒ Array<Google::Apis::CloudsearchV1::CustomerQueryStats>
Corresponds to the JSON property
stats
. -
#total_query_count ⇒ Fixnum
Total successful query count (status code 200) for the given date range.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GetCustomerQueryStatsResponse
constructor
A new instance of GetCustomerQueryStatsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GetCustomerQueryStatsResponse
Returns a new instance of GetCustomerQueryStatsResponse.
3623 3624 3625 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3623 def initialize(**args) update!(**args) end |
Instance Attribute Details
#stats ⇒ Array<Google::Apis::CloudsearchV1::CustomerQueryStats>
Corresponds to the JSON property stats
3616 3617 3618 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3616 def stats @stats end |
#total_query_count ⇒ Fixnum
Total successful query count (status code 200) for the given date range.
Corresponds to the JSON property totalQueryCount
3621 3622 3623 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3621 def total_query_count @total_query_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3628 3629 3630 3631 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3628 def update!(**args) @stats = args[:stats] if args.key?(:stats) @total_query_count = args[:total_query_count] if args.key?(:total_query_count) end |