Class: Google::Apis::CloudsearchV1::GetCustomerSessionStatsResponse

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) ⇒ GetCustomerSessionStatsResponse

Returns a new instance of GetCustomerSessionStatsResponse.



1469
1470
1471
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1469

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

Instance Attribute Details

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

Corresponds to the JSON property stats



1467
1468
1469
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1467

def stats
  @stats
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1474
1475
1476
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 1474

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