Class: Google::Cloud::MigrationCenter::V1::AggregationResult::Histogram

Inherits:
Object
  • Object
show all
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

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.

Returns:



3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
# File 'proto_docs/google/cloud/migrationcenter/v1/migrationcenter.rb', line 3121

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