Skip to content

Commit a1f35d0

Browse files
feat(dataflow): update the API
#### dataflow:v1b3 The following keys were added: - schemas.MetricUpdate.properties.boundedTrie.description - schemas.MetricUpdate.properties.boundedTrie.type
1 parent 538db54 commit a1f35d0

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

‎discovery/dataflow-v1b3.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2208,7 +2208,7 @@
22082208
}
22092209
}
22102210
},
2211-
"revision": "20250310",
2211+
"revision": "20250421",
22122212
"rootUrl": "https://dataflow.googleapis.com/",
22132213
"schemas": {
22142214
"ApproximateProgress": {
@@ -4763,6 +4763,10 @@
47634763
"description": "Describes the state of a metric.",
47644764
"id": "MetricUpdate",
47654765
"properties": {
4766+
"boundedTrie": {
4767+
"description": "Worker-computed aggregate value for the \"Trie\" aggregation kind. The only possible value type is a BoundedTrieNode. Introduced this field to avoid breaking older SDKs when Dataflow service starts to populate the `bounded_trie` field.",
4768+
"type": "any"
4769+
},
47664770
"cumulative": {
47674771
"description": "True if this metric is reported as the total cumulative aggregate value accumulated since the worker started working on this WorkItem. By default this is false, indicating that this metric is reported as a delta that is not associated with any WorkItem.",
47684772
"type": "boolean"

‎src/apis/dataflow/v1b3.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1906,6 +1906,10 @@ export namespace dataflow_v1b3 {
19061906
* Describes the state of a metric.
19071907
*/
19081908
export interface Schema$MetricUpdate {
1909+
/**
1910+
* Worker-computed aggregate value for the "Trie" aggregation kind. The only possible value type is a BoundedTrieNode. Introduced this field to avoid breaking older SDKs when Dataflow service starts to populate the `bounded_trie` field.
1911+
*/
1912+
boundedTrie?: any | null;
19091913
/**
19101914
* True if this metric is reported as the total cumulative aggregate value accumulated since the worker started working on this WorkItem. By default this is false, indicating that this metric is reported as a delta that is not associated with any WorkItem.
19111915
*/

0 commit comments

Comments
 (0)