Aggregation(mapping=None, *, ignore_unknown_fields=False, **kwargs)Message describing an aggregation. The message includes the aggregation type, parameters, and the field on which to perform the aggregation.
This message has oneof_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
| Attributes | |
|---|---|
| Name | Description | 
| field | strThe name of the field on which to aggregate. | 
| count | google.cloud.migrationcenter_v1.types.Aggregation.CountCount the number of matching objects. This field is a member of oneof_aggregation_function. | 
| sum | google.cloud.migrationcenter_v1.types.Aggregation.SumSum over a numeric field. This field is a member of oneof_aggregation_function. | 
| histogram | google.cloud.migrationcenter_v1.types.Aggregation.HistogramCreates a bucketed histogram of field values. This field is a member of oneof_aggregation_function. | 
| frequency | google.cloud.migrationcenter_v1.types.Aggregation.FrequencyCreates a frequency distribution of all field values. This field is a member of oneof_aggregation_function. | 
Classes
Count
Count(mapping=None, *, ignore_unknown_fields=False, **kwargs)Object count.
Frequency
Frequency(mapping=None, *, ignore_unknown_fields=False, **kwargs)Frequency distribution of all field values.
Histogram
Histogram(mapping=None, *, ignore_unknown_fields=False, **kwargs)Histogram of bucketed assets counts by field value.
Sum
Sum(mapping=None, *, ignore_unknown_fields=False, **kwargs)Sum of field values.