Class: Google::Apis::CloudmonitoringV2beta2::PointDistributionOverflowBucket

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

Overview

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.

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) ⇒ PointDistributionOverflowBucket

Returns a new instance of PointDistributionOverflowBucket



482
483
484
# File 'generated/google/apis/cloudmonitoring_v2beta2/classes.rb', line 482

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

Instance Attribute Details

#countFixnum

The number of events whose values are in the interval defined by this bucket. Corresponds to the JSON property count

Returns:

  • (Fixnum)


475
476
477
# File 'generated/google/apis/cloudmonitoring_v2beta2/classes.rb', line 475

def count
  @count
end

#lower_boundFloat

The lower bound of the value interval of this bucket (inclusive). Corresponds to the JSON property lowerBound

Returns:

  • (Float)


480
481
482
# File 'generated/google/apis/cloudmonitoring_v2beta2/classes.rb', line 480

def lower_bound
  @lower_bound
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



487
488
489
490
# File 'generated/google/apis/cloudmonitoring_v2beta2/classes.rb', line 487

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