Migration Center V1 API - Class Google::Cloud::MigrationCenter::V1::Aggregation::Histogram (v1.0.0)

Reference documentation and code samples for the Migration Center V1 API class Google::Cloud::MigrationCenter::V1::Aggregation::Histogram.

Histogram of bucketed assets counts by field value.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#lower_bounds

def lower_bounds() -> ::Array<::Float>
Returns
  • (::Array<::Float>) — Lower bounds of buckets. The response will contain n+1 buckets for n bounds. The first bucket will count all assets for which the field value is smaller than the first bound. Subsequent buckets will count assets for which the field value is greater or equal to a lower bound and smaller than the next one. The last bucket will count assets for which the field value is greater or equal to the final lower bound. You can define up to 20 lower bounds.

#lower_bounds=

def lower_bounds=(value) -> ::Array<::Float>
Parameter
  • value (::Array<::Float>) — Lower bounds of buckets. The response will contain n+1 buckets for n bounds. The first bucket will count all assets for which the field value is smaller than the first bound. Subsequent buckets will count assets for which the field value is greater or equal to a lower bound and smaller than the next one. The last bucket will count assets for which the field value is greater or equal to the final lower bound. You can define up to 20 lower bounds.
Returns
  • (::Array<::Float>) — Lower bounds of buckets. The response will contain n+1 buckets for n bounds. The first bucket will count all assets for which the field value is smaller than the first bound. Subsequent buckets will count assets for which the field value is greater or equal to a lower bound and smaller than the next one. The last bucket will count assets for which the field value is greater or equal to the final lower bound. You can define up to 20 lower bounds.