Class: Google::Apis::CloudsearchV1::GetCustomerSearchApplicationStatsResponse

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 search application stats for a customer.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GetCustomerSearchApplicationStatsResponse

Returns a new instance of GetCustomerSearchApplicationStatsResponse.



3615
3616
3617
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3615

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

Instance Attribute Details

#average_search_application_countFixnum

Average search application count for the given date range. Corresponds to the JSON property averageSearchApplicationCount

Returns:

  • (Fixnum)


3608
3609
3610
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3608

def average_search_application_count
  @average_search_application_count
end

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

Search application stats by date. Corresponds to the JSON property stats



3613
3614
3615
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3613

def stats
  @stats
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3620
3621
3622
3623
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 3620

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