Migration Center v1 API - Class Aggregation (1.4.0)

public sealed class Aggregation : IMessage<Aggregation>, IEquatable<Aggregation>, IDeepCloneable<Aggregation>, IBufferMessage, IMessage

Reference documentation and code samples for the Migration Center v1 API class Aggregation.

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

Inheritance

object > Aggregation

Namespace

Google.Cloud.MigrationCenter.V1

Assembly

Google.Cloud.MigrationCenter.V1.dll

Constructors

Aggregation()

public Aggregation()

Aggregation(Aggregation)

public Aggregation(Aggregation other)
Parameter
Name Description
other Aggregation

Properties

AggregationFunctionCase

public Aggregation.AggregationFunctionOneofCase AggregationFunctionCase { get; }
Property Value
Type Description
AggregationAggregationFunctionOneofCase

Count

public Aggregation.Types.Count Count { get; set; }

Count the number of matching objects.

Property Value
Type Description
AggregationTypesCount

Field

public string Field { get; set; }

The name of the field on which to aggregate.

Property Value
Type Description
string

Frequency

public Aggregation.Types.Frequency Frequency { get; set; }

Creates a frequency distribution of all field values.

Property Value
Type Description
AggregationTypesFrequency

Histogram

public Aggregation.Types.Histogram Histogram { get; set; }

Creates a bucketed histogram of field values.

Property Value
Type Description
AggregationTypesHistogram

Sum

public Aggregation.Types.Sum Sum { get; set; }

Sum over a numeric field.

Property Value
Type Description
AggregationTypesSum