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

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

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

#bounds=

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

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.