Migration Center v1 API - Class Aggregation (1.0.0-beta01)

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
NameDescription
otherAggregation

Properties

AggregationFunctionCase

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

Count

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

Count the number of matching objects.

Property Value
TypeDescription
AggregationTypesCount

Field

public string Field { get; set; }

The name of the field on which to aggregate.

Property Value
TypeDescription
string

Frequency

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

Creates a frequency distribution of all field values.

Property Value
TypeDescription
AggregationTypesFrequency

Histogram

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

Creates a bucketed histogram of field values.

Property Value
TypeDescription
AggregationTypesHistogram

Sum

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

Sum over a numeric field.

Property Value
TypeDescription
AggregationTypesSum