Cloud Monitoring V3 API - Class Google::Api::Distribution::BucketOptions::Explicit (v0.7.1)

Reference documentation and code samples for the Cloud Monitoring V3 API class Google::Api::Distribution::BucketOptions::Explicit.

Specifies a set of buckets with arbitrary widths.

There are size(bounds) + 1 (= N) buckets. Bucket i has the following boundaries:

Upper bound (0 <= i < N-1): bounds[i] Lower bound (1 <= i < N); bounds[i - 1]

The bounds field must contain at least one element. If bounds has only one element, then there are no finite buckets, and that single element is the common boundary of the overflow and underflow buckets.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#bounds

def bounds() -> ::Array<::Float>
Returns
  • (::Array<::Float>) — The values must be monotonically increasing.

#bounds=

def bounds=(value) -> ::Array<::Float>
Parameter
  • value (::Array<::Float>) — The values must be monotonically increasing.
Returns
  • (::Array<::Float>) — The values must be monotonically increasing.