class Google::Apis::MonitoringV3::Exponential
Specifies an exponential sequence of buckets that have a width that is proportional to the value of the lower bound. Each bucket represents a constant relative uncertainty on a specific value in the bucket.There are num_finite_buckets
+ 2 (= N) buckets. Bucket i has the following boundaries: Upper bound (0 <= i < N-1): scale * (growth_factor
^ i). Lower bound (1 <= i < N): scale * (growth_factor
^ (i - 1)).
Attributes
growth_factor[RW]
Must be greater than 1. Corresponds to the JSON property `growthFactor` @return [Float]
num_finite_buckets[RW]
Must be greater than 0. Corresponds to the JSON property `numFiniteBuckets` @return [Fixnum]
scale[RW]
Must be greater than 0. Corresponds to the JSON property `scale` @return [Float]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/monitoring_v3/classes.rb, line 1228 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/monitoring_v3/classes.rb, line 1233 def update!(**args) @growth_factor = args[:growth_factor] if args.key?(:growth_factor) @num_finite_buckets = args[:num_finite_buckets] if args.key?(:num_finite_buckets) @scale = args[:scale] if args.key?(:scale) end