Reference documentation and code samples for the Migration Center V1 API class Google::Cloud::MigrationCenter::V1::AggregationResult::Histogram.
The result of a bucketed histogram aggregation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#buckets
def buckets() -> ::Array<::Google::Cloud::MigrationCenter::V1::AggregationResult::Histogram::Bucket>
Returns
-
(::Array<::Google::Cloud::MigrationCenter::V1::AggregationResult::Histogram::Bucket>) — Buckets in the histogram.
There will be
n+1
buckets matchingn
lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity.
#buckets=
def buckets=(value) -> ::Array<::Google::Cloud::MigrationCenter::V1::AggregationResult::Histogram::Bucket>
Parameter
-
value (::Array<::Google::Cloud::MigrationCenter::V1::AggregationResult::Histogram::Bucket>) — Buckets in the histogram.
There will be
n+1
buckets matchingn
lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity.
Returns
-
(::Array<::Google::Cloud::MigrationCenter::V1::AggregationResult::Histogram::Bucket>) — Buckets in the histogram.
There will be
n+1
buckets matchingn
lower bounds in the request. The first bucket will be from -infinity to the first bound. Subsequent buckets will be between one bound and the next. The final bucket will be from the final bound to infinity.