Class: Google::Apis::CloudsearchV1::GetSearchApplicationQueryStatsResponse

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

Response format for getting query stats for a search application between given dates.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GetSearchApplicationQueryStatsResponse

Returns a new instance of GetSearchApplicationQueryStatsResponse.



3737
3738
3739
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3737

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

Instance Attribute Details

#statsArray<Google::Apis::CloudsearchV1::SearchApplicationQueryStats>

Query stats per date for a search application. Corresponds to the JSON property stats



3730
3731
3732
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3730

def stats
  @stats
end

#total_query_countFixnum

Total successful query count (status code 200) for the given date range. Corresponds to the JSON property totalQueryCount

Returns:

  • (Fixnum)


3735
3736
3737
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3735

def total_query_count
  @total_query_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3742
3743
3744
3745
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3742

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