Class: Google::Apis::CloudmonitoringV2beta2::PointDistributionUnderflowBucket

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 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.

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

Returns a new instance of PointDistributionUnderflowBucket.



508
509
510
# File 'generated/google/apis/cloudmonitoring_v2beta2/classes.rb', line 508

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

Instance Attribute Details

#countString

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

Returns:

  • (String)


501
502
503
# File 'generated/google/apis/cloudmonitoring_v2beta2/classes.rb', line 501

def count
  @count
end

#upper_boundFloat

The upper bound of the value interval of this bucket (exclusive). Corresponds to the JSON property upperBound

Returns:

  • (Float)


506
507
508
# File 'generated/google/apis/cloudmonitoring_v2beta2/classes.rb', line 506

def upper_bound
  @upper_bound
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



513
514
515
516
# File 'generated/google/apis/cloudmonitoring_v2beta2/classes.rb', line 513

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