class Google::Apis::DataflowV1b3::DistributionUpdate
A metric value representing a distribution.
Attributes
A representation of an int64, n, that is immune to precision loss when encoded in JSON. Corresponds to the JSON property `count` @return [Google::Apis::DataflowV1b3::SplitInt64]
Histogram
of value counts for a distribution. Buckets have an inclusive lower bound and exclusive upper bound and use “1,2,5 bucketing”: The first bucket range is from [0,1) and all subsequent bucket boundaries are powers of ten multiplied by 1, 2, or 5. Thus, bucket boundaries are 0, 1, 2, 5, 10, 20, 50, 100, 200, 500, 1000, … Negative values are not supported. Corresponds to the JSON property `histogram` @return [Google::Apis::DataflowV1b3::Histogram]
A representation of an int64, n, that is immune to precision loss when encoded in JSON. Corresponds to the JSON property `max` @return [Google::Apis::DataflowV1b3::SplitInt64]
A representation of an int64, n, that is immune to precision loss when encoded in JSON. Corresponds to the JSON property `min` @return [Google::Apis::DataflowV1b3::SplitInt64]
A representation of an int64, n, that is immune to precision loss when encoded in JSON. Corresponds to the JSON property `sum` @return [Google::Apis::DataflowV1b3::SplitInt64]
Use a double since the sum of squares is likely to overflow int64. Corresponds to the JSON property `sumOfSquares` @return [Float]
Public Class Methods
# File lib/google/apis/dataflow_v1b3/classes.rb, line 1106 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dataflow_v1b3/classes.rb, line 1111 def update!(**args) @count = args[:count] if args.key?(:count) @histogram = args[:histogram] if args.key?(:histogram) @max = args[:max] if args.key?(:max) @min = args[:min] if args.key?(:min) @sum = args[:sum] if args.key?(:sum) @sum_of_squares = args[:sum_of_squares] if args.key?(:sum_of_squares) end