Class Aggregation
Message describing an aggregation. The message includes the aggregation type, parameters, and the field on which to perform the aggregation.
Implements
Inherited Members
Namespace: Google.Apis.MigrationCenterAPI.v1.Data
Assembly: Google.Apis.MigrationCenterAPI.v1.dll
Syntax
public class Aggregation : IDirectResponseSchema
Properties
Count
Count the number of matching objects.
Declaration
[JsonProperty("count")]
public virtual AggregationCount Count { get; set; }
Property Value
Type | Description |
---|---|
AggregationCount |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Field
The name of the field on which to aggregate.
Declaration
[JsonProperty("field")]
public virtual string Field { get; set; }
Property Value
Type | Description |
---|---|
string |
Frequency
Creates a frequency distribution of all field values.
Declaration
[JsonProperty("frequency")]
public virtual AggregationFrequency Frequency { get; set; }
Property Value
Type | Description |
---|---|
AggregationFrequency |
Histogram
Creates a bucketed histogram of field values.
Declaration
[JsonProperty("histogram")]
public virtual AggregationHistogram Histogram { get; set; }
Property Value
Type | Description |
---|---|
AggregationHistogram |
Sum
Sum over a numeric field.
Declaration
[JsonProperty("sum")]
public virtual AggregationSum Sum { get; set; }
Property Value
Type | Description |
---|---|
AggregationSum |