Class: Google::Apis::CloudsearchV1::GetSearchApplicationQueryStatsResponse
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::GetSearchApplicationQueryStatsResponse
- 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
Response format for getting query stats for a search application between given dates.
Instance Attribute Summary collapse
-
#stats ⇒ Array<Google::Apis::CloudsearchV1::SearchApplicationQueryStats>
Query stats per date for a search application.
-
#total_query_count ⇒ Fixnum
Total successful query count (status code 200) for the given date range.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GetSearchApplicationQueryStatsResponse
constructor
A new instance of GetSearchApplicationQueryStatsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GetSearchApplicationQueryStatsResponse
Returns a new instance of GetSearchApplicationQueryStatsResponse.
9916 9917 9918 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 9916 def initialize(**args) update!(**args) end |
Instance Attribute Details
#stats ⇒ Array<Google::Apis::CloudsearchV1::SearchApplicationQueryStats>
Query stats per date for a search application.
Corresponds to the JSON property stats
9909 9910 9911 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 9909 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
9914 9915 9916 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 9914 def total_query_count @total_query_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9921 9922 9923 9924 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 9921 def update!(**args) @stats = args[:stats] if args.key?(:stats) @total_query_count = args[:total_query_count] if args.key?(:total_query_count) end |