The Aggregation message defines a single aggregation operation, including its name, type, and serialized condition.
Data structure
message Aggregation {
optional string name = 1;
optional AggregationType type = 2;
optional bytes body = 3;
}
|
Parameter |
Type |
Required |
Description |
|
name |
string |
Yes |
A unique name for the aggregation, used to distinguish it from other aggregations in the same request. |
|
type |
Yes |
The type of the aggregation. |
|
|
body |
bytes |
Yes |
The aggregation condition, serialized using Protocol Buffers. |