class Google::Apis::CloudmonitoringV2beta2::PointDistribution

Distribution data point value type. When writing distribution points, try to be consistent with the boundaries of your buckets. If you must modify the bucket boundaries, then do so by merging, partitioning, or appending rather than skewing them.

Attributes

buckets[RW]

The finite buckets. Corresponds to the JSON property `buckets` @return [Array<Google::Apis::CloudmonitoringV2beta2::PointDistributionBucket>]

overflow_bucket[RW]

The overflow bucket is a special bucket that does not have the upperBound field; it includes all of the events that are no less than its lower bound. Corresponds to the JSON property `overflowBucket` @return [Google::Apis::CloudmonitoringV2beta2::PointDistributionOverflowBucket]

underflow_bucket[RW]

The underflow bucket is a special bucket that does not have the lowerBound field; it includes all of the events that are less than its upper bound. Corresponds to the JSON property `underflowBucket` @return [Google::Apis::CloudmonitoringV2beta2::PointDistributionUnderflowBucket]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/cloudmonitoring_v2beta2/classes.rb, line 422
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/cloudmonitoring_v2beta2/classes.rb, line 427
def update!(**args)
  @buckets = args[:buckets] if args.key?(:buckets)
  @overflow_bucket = args[:overflow_bucket] if args.key?(:overflow_bucket)
  @underflow_bucket = args[:underflow_bucket] if args.key?(:underflow_bucket)
end