Class: Google::Apis::NetworkmanagementV1::LatencyDistribution

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/networkmanagement_v1/classes.rb,
lib/google/apis/networkmanagement_v1/representations.rb,
lib/google/apis/networkmanagement_v1/representations.rb

Overview

Describes measured latency distribution.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ LatencyDistribution

Returns a new instance of LatencyDistribution.



1188
1189
1190
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1188

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

Instance Attribute Details

#latency_percentiles ⇒ Array<Google::Apis::NetworkmanagementV1::LatencyPercentile>

Representative latency percentiles. Corresponds to the JSON property latencyPercentiles



1186
1187
1188
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1186

def latency_percentiles
  @latency_percentiles
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1193
1194
1195
# File 'lib/google/apis/networkmanagement_v1/classes.rb', line 1193

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