Class: Google::Apis::CloudsearchV1::GetCustomerQueryStatsResponse

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GetCustomerQueryStatsResponse

Returns a new instance of GetCustomerQueryStatsResponse.



1393
1394
1395
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1393

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

Instance Attribute Details

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

Corresponds to the JSON property stats



1386
1387
1388
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1386

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)


1391
1392
1393
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1391

def total_query_count
  @total_query_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1398
1399
1400
1401
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1398

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