Skip to content

Commit ea28e02

Browse files
feat(dataflow): update the api
#### dataflow:v1b3 The following keys were added: - schemas.MetricUpdate.properties.boundedTrie.type (Total Keys: 1)
1 parent a456e2c commit ea28e02

6 files changed

+11
-1
lines changed

docs/dyn/dataflow_v1b3.projects.jobs.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1566,6 +1566,7 @@ <h3>Method Details</h3>
15661566
&quot;metricTime&quot;: &quot;A String&quot;, # Timestamp as of which metric values are current.
15671567
&quot;metrics&quot;: [ # All metrics for this job.
15681568
{ # Describes the state of a metric.
1569+
&quot;boundedTrie&quot;: &quot;&quot;, # Worker-computed aggregate value for the &quot;Trie&quot; 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.
15691570
&quot;cumulative&quot;: True or False, # 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.
15701571
&quot;distribution&quot;: &quot;&quot;, # A struct value describing properties of a distribution of numeric values.
15711572
&quot;gauge&quot;: &quot;&quot;, # A struct value describing properties of a Gauge. Metrics of gauge type show the value of a metric across time, and is aggregated based on the newest value.

docs/dyn/dataflow_v1b3.projects.jobs.workItems.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -897,6 +897,7 @@ <h3>Method Details</h3>
897897
],
898898
&quot;metricUpdates&quot;: [ # DEPRECATED in favor of counter_updates.
899899
{ # Describes the state of a metric.
900+
&quot;boundedTrie&quot;: &quot;&quot;, # Worker-computed aggregate value for the &quot;Trie&quot; 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.
900901
&quot;cumulative&quot;: True or False, # 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.
901902
&quot;distribution&quot;: &quot;&quot;, # A struct value describing properties of a distribution of numeric values.
902903
&quot;gauge&quot;: &quot;&quot;, # A struct value describing properties of a Gauge. Metrics of gauge type show the value of a metric across time, and is aggregated based on the newest value.

docs/dyn/dataflow_v1b3.projects.locations.jobs.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1196,6 +1196,7 @@ <h3>Method Details</h3>
11961196
&quot;endTime&quot;: &quot;A String&quot;, # End time of this stage. If the work item is completed, this is the actual end time of the stage. Otherwise, it is the predicted end time.
11971197
&quot;metrics&quot;: [ # Metrics for this stage.
11981198
{ # Describes the state of a metric.
1199+
&quot;boundedTrie&quot;: &quot;&quot;, # Worker-computed aggregate value for the &quot;Trie&quot; 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.
11991200
&quot;cumulative&quot;: True or False, # 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.
12001201
&quot;distribution&quot;: &quot;&quot;, # A struct value describing properties of a distribution of numeric values.
12011202
&quot;gauge&quot;: &quot;&quot;, # A struct value describing properties of a Gauge. Metrics of gauge type show the value of a metric across time, and is aggregated based on the newest value.
@@ -1301,6 +1302,7 @@ <h3>Method Details</h3>
13011302
&quot;metricTime&quot;: &quot;A String&quot;, # Timestamp as of which metric values are current.
13021303
&quot;metrics&quot;: [ # All metrics for this job.
13031304
{ # Describes the state of a metric.
1305+
&quot;boundedTrie&quot;: &quot;&quot;, # Worker-computed aggregate value for the &quot;Trie&quot; 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.
13041306
&quot;cumulative&quot;: True or False, # 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.
13051307
&quot;distribution&quot;: &quot;&quot;, # A struct value describing properties of a distribution of numeric values.
13061308
&quot;gauge&quot;: &quot;&quot;, # A struct value describing properties of a Gauge. Metrics of gauge type show the value of a metric across time, and is aggregated based on the newest value.

docs/dyn/dataflow_v1b3.projects.locations.jobs.stages.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ <h3>Method Details</h3>
120120
&quot;endTime&quot;: &quot;A String&quot;, # End time of this work item attempt. If the work item is completed, this is the actual end time of the work item. Otherwise, it is the predicted end time.
121121
&quot;metrics&quot;: [ # Metrics for this work item.
122122
{ # Describes the state of a metric.
123+
&quot;boundedTrie&quot;: &quot;&quot;, # Worker-computed aggregate value for the &quot;Trie&quot; 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.
123124
&quot;cumulative&quot;: True or False, # 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.
124125
&quot;distribution&quot;: &quot;&quot;, # A struct value describing properties of a distribution of numeric values.
125126
&quot;gauge&quot;: &quot;&quot;, # A struct value describing properties of a Gauge. Metrics of gauge type show the value of a metric across time, and is aggregated based on the newest value.

docs/dyn/dataflow_v1b3.projects.locations.jobs.workItems.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -899,6 +899,7 @@ <h3>Method Details</h3>
899899
],
900900
&quot;metricUpdates&quot;: [ # DEPRECATED in favor of counter_updates.
901901
{ # Describes the state of a metric.
902+
&quot;boundedTrie&quot;: &quot;&quot;, # Worker-computed aggregate value for the &quot;Trie&quot; 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.
902903
&quot;cumulative&quot;: True or False, # 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.
903904
&quot;distribution&quot;: &quot;&quot;, # A struct value describing properties of a distribution of numeric values.
904905
&quot;gauge&quot;: &quot;&quot;, # A struct value describing properties of a Gauge. Metrics of gauge type show the value of a metric across time, and is aggregated based on the newest value.

googleapiclient/discovery_cache/documents/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"

0 commit comments

Comments
 (0)