Class: Google::Apis::CloudlatencytestV2::AggregatedStats

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/cloudlatencytest_v2/classes.rb,
generated/google/apis/cloudlatencytest_v2/representations.rb,
generated/google/apis/cloudlatencytest_v2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ AggregatedStats

Returns a new instance of AggregatedStats.


34
35
36
# File 'generated/google/apis/cloudlatencytest_v2/classes.rb', line 34

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

Instance Attribute Details

#statsArray<Google::Apis::CloudlatencytestV2::Stats>

Corresponds to the JSON property stats


32
33
34
# File 'generated/google/apis/cloudlatencytest_v2/classes.rb', line 32

def stats
  @stats
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


39
40
41
# File 'generated/google/apis/cloudlatencytest_v2/classes.rb', line 39

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