View Source GoogleApi.MigrationCenter.V1.Model.Aggregation (google_api_migration_center v0.5.0)

Message describing an aggregation. The message includes the aggregation type, parameters, and the field on which to perform the aggregation.

Attributes

  • count (type: GoogleApi.MigrationCenter.V1.Model.AggregationCount.t, default: nil) - Count the number of matching objects.
  • field (type: String.t, default: nil) - The name of the field on which to aggregate.
  • frequency (type: GoogleApi.MigrationCenter.V1.Model.AggregationFrequency.t, default: nil) - Creates a frequency distribution of all field values.
  • histogram (type: GoogleApi.MigrationCenter.V1.Model.AggregationHistogram.t, default: nil) - Creates a bucketed histogram of field values.
  • sum (type: GoogleApi.MigrationCenter.V1.Model.AggregationSum.t, default: nil) - Sum over a numeric field.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.