Class Histogram (0.1.11)

Histogram(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The result of a bucketed histogram aggregation.

Attribute

Name Description
buckets MutableSequence[google.cloud.migrationcenter_v1.types.AggregationResult.Histogram.Bucket]
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.

Classes

Bucket

Bucket(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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.