Class: Google::Cloud::MigrationCenter::V1::AggregationResult::Histogram
- Inherits:
-
Object
- Object
- Google::Cloud::MigrationCenter::V1::AggregationResult::Histogram
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/migrationcenter/v1/migrationcenter.rb
Overview
The result of a bucketed histogram aggregation.
Defined Under Namespace
Classes: Bucket
Instance Attribute Summary collapse
-
#buckets ⇒ ::Array<::Google::Cloud::MigrationCenter::V1::AggregationResult::Histogram::Bucket>
Buckets in the histogram.
Instance Attribute Details
#buckets ⇒ ::Array<::Google::Cloud::MigrationCenter::V1::AggregationResult::Histogram::Bucket>
Returns Buckets in the histogram.
There will be n+1
buckets matching n
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.
3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 |
# File 'proto_docs/google/cloud/migrationcenter/v1/migrationcenter.rb', line 3091 class Histogram include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # 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. # @!attribute [rw] lower_bound # @return [::Float] # Lower bound - inclusive. # @!attribute [rw] upper_bound # @return [::Float] # Upper bound - exclusive. # @!attribute [rw] count # @return [::Integer] # Count of items in the bucket. class Bucket include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |