Reference documentation and code samples for the Migration Center V1 API class Google::Cloud::MigrationCenter::V1::AggregationResult::Histogram::Bucket.
A histogram bucket with a lower and upper bound, and a count of items with a field value between those bounds. The lower bound is inclusive and the upper bound is exclusive. Lower bound may be -infinity and upper bound may be infinity.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#count
def count() -> ::Integer
Returns
- (::Integer) — Count of items in the bucket.
#count=
def count=(value) -> ::Integer
Parameter
- value (::Integer) — Count of items in the bucket.
Returns
- (::Integer) — Count of items in the bucket.
#lower_bound
def lower_bound() -> ::Float
Returns
- (::Float) — Lower bound - inclusive.
#lower_bound=
def lower_bound=(value) -> ::Float
Parameter
- value (::Float) — Lower bound - inclusive.
Returns
- (::Float) — Lower bound - inclusive.
#upper_bound
def upper_bound() -> ::Float
Returns
- (::Float) — Upper bound - exclusive.
#upper_bound=
def upper_bound=(value) -> ::Float
Parameter
- value (::Float) — Upper bound - exclusive.
Returns
- (::Float) — Upper bound - exclusive.