Aggregation 訊息定義單個統計彙總操作,包含彙總名稱、類型及經 Protocol Buffers 序列化的彙總條件。
資料結構
message Aggregation {
optional string name = 1;
optional AggregationType type = 2;
optional bytes body = 3;
}
|
名稱 |
類型 |
是否必選 |
描述 |
|
name |
string |
是 |
統計彙總的自訂名稱,用於在同一請求中區分不同的統計彙總。 |
|
type |
是 |
統計彙總類型。 |
|
|
body |
bytes |
是 |
統計彙總條件資訊,使用 Protocol Buffers 序列化編碼。 |