You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: discovery/dataflow-v1b3.json
+111-6Lines changed: 111 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -2208,7 +2208,7 @@
2208
2208
}
2209
2209
}
2210
2210
},
2211
-
"revision": "20240817",
2211
+
"revision": "20250106",
2212
2212
"rootUrl": "https://dataflow.googleapis.com/",
2213
2213
"schemas": {
2214
2214
"ApproximateProgress": {
@@ -2413,6 +2413,47 @@
2413
2413
},
2414
2414
"type": "object"
2415
2415
},
2416
+
"BoundedTrie": {
2417
+
"description": "The message type used for encoding metrics of type bounded trie.",
2418
+
"id": "BoundedTrie",
2419
+
"properties": {
2420
+
"bound": {
2421
+
"description": "The maximum number of elements to store before truncation.",
2422
+
"format": "int32",
2423
+
"type": "integer"
2424
+
},
2425
+
"root": {
2426
+
"$ref": "BoundedTrieNode",
2427
+
"description": "A compact representation of all the elements in this trie."
2428
+
},
2429
+
"singleton": {
2430
+
"description": "A more efficient representation for metrics consisting of a single value.",
2431
+
"items": {
2432
+
"type": "string"
2433
+
},
2434
+
"type": "array"
2435
+
}
2436
+
},
2437
+
"type": "object"
2438
+
},
2439
+
"BoundedTrieNode": {
2440
+
"description": "A single node in a BoundedTrie.",
2441
+
"id": "BoundedTrieNode",
2442
+
"properties": {
2443
+
"children": {
2444
+
"additionalProperties": {
2445
+
"$ref": "BoundedTrieNode"
2446
+
},
2447
+
"description": "Children of this node. Must be empty if truncated is true.",
2448
+
"type": "object"
2449
+
},
2450
+
"truncated": {
2451
+
"description": "Whether this node has been truncated. A truncated leaf represents possibly many children with the same prefix.",
2452
+
"type": "boolean"
2453
+
}
2454
+
},
2455
+
"type": "object"
2456
+
},
2416
2457
"BucketOptions": {
2417
2458
"description": "`BucketOptions` describes the bucket boundaries used in the histogram.",
2418
2459
"id": "BucketOptions",
@@ -2731,13 +2772,17 @@
2731
2772
"type": "object"
2732
2773
},
2733
2774
"CounterUpdate": {
2734
-
"description": "An update to a Counter sent from a worker.",
2775
+
"description": "An update to a Counter sent from a worker. Next ID: 17",
2735
2776
"id": "CounterUpdate",
2736
2777
"properties": {
2737
2778
"boolean": {
2738
2779
"description": "Boolean value for And, Or.",
2739
2780
"type": "boolean"
2740
2781
},
2782
+
"boundedTrie": {
2783
+
"$ref": "BoundedTrie",
2784
+
"description": "Bounded trie data"
2785
+
},
2741
2786
"cumulative": {
2742
2787
"description": "True if this counter 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 counter is reported as a delta.",
2743
2788
"type": "boolean"
@@ -2926,6 +2971,23 @@
2926
2971
},
2927
2972
"type": "object"
2928
2973
},
2974
+
"DataflowGaugeValue": {
2975
+
"description": "The gauge value of a metric.",
2976
+
"id": "DataflowGaugeValue",
2977
+
"properties": {
2978
+
"measuredTime": {
2979
+
"description": "The timestamp when the gauge was recorded.",
2980
+
"format": "google-datetime",
2981
+
"type": "string"
2982
+
},
2983
+
"value": {
2984
+
"description": "The value of the gauge.",
2985
+
"format": "int64",
2986
+
"type": "string"
2987
+
}
2988
+
},
2989
+
"type": "object"
2990
+
},
2929
2991
"DataflowHistogramValue": {
2930
2992
"description": "Summary statistics for a population of values. HistogramValue contains a sequence of buckets and gives a count of values that fall into each bucket. Bucket boundares are defined by a formula and bucket widths are either fixed or exponentially increasing.",
2931
2993
"id": "DataflowHistogramValue",
@@ -3446,7 +3508,7 @@
3446
3508
"type": "object"
3447
3509
},
3448
3510
"FlexTemplateRuntimeEnvironment": {
3449
-
"description": "The environment values to be set at runtime for flex template. LINT.IfChange",
3511
+
"description": "The environment values to be set at runtime for flex template.",
3450
3512
"id": "FlexTemplateRuntimeEnvironment",
3451
3513
"properties": {
3452
3514
"additionalExperiments": {
@@ -3632,6 +3694,34 @@
3632
3694
},
3633
3695
"type": "object"
3634
3696
},
3697
+
"GPUUsage": {
3698
+
"description": "Information about the GPU usage on the worker.",
3699
+
"id": "GPUUsage",
3700
+
"properties": {
3701
+
"timestamp": {
3702
+
"description": "Required. Timestamp of the measurement.",
3703
+
"format": "google-datetime",
3704
+
"type": "string"
3705
+
},
3706
+
"utilization": {
3707
+
"$ref": "GPUUtilization",
3708
+
"description": "Required. Utilization info about the GPU."
3709
+
}
3710
+
},
3711
+
"type": "object"
3712
+
},
3713
+
"GPUUtilization": {
3714
+
"description": "Utilization details about the GPU.",
3715
+
"id": "GPUUtilization",
3716
+
"properties": {
3717
+
"rate": {
3718
+
"description": "Required. GPU utilization rate of any kernel over the last sample period in the range of [0, 1].",
3719
+
"format": "double",
3720
+
"type": "number"
3721
+
}
3722
+
},
3723
+
"type": "object"
3724
+
},
3635
3725
"GetDebugConfigRequest": {
3636
3726
"description": "Request to get updated debug configuration for component.",
3637
3727
"id": "GetDebugConfigRequest",
@@ -4663,7 +4753,7 @@
4663
4753
"type": "object"
4664
4754
},
4665
4755
"MetricUpdate": {
4666
-
"description": "Describes the state of a metric.",
4756
+
"description": "Describes the state of a metric. Next ID: 14",
4667
4757
"id": "MetricUpdate",
4668
4758
"properties": {
4669
4759
"cumulative": {
@@ -4703,7 +4793,11 @@
4703
4793
"type": "any"
4704
4794
},
4705
4795
"set": {
4706
-
"description": "Worker-computed aggregate value for the \"Set\" aggregation kind. The only possible value type is a list of Values whose type can be Long, Double, or String, according to the metric's type. All Values in the list must be of the same type.",
4796
+
"description": "Worker-computed aggregate value for the \"Set\" aggregation kind. The only possible value type is a list of Values whose type can be Long, Double, String, or BoundedTrie according to the metric's type. All Values in the list must be of the same type.",
4797
+
"type": "any"
4798
+
},
4799
+
"trie": {
4800
+
"description": "Worker-computed aggregate value for the \"Trie\" aggregation kind. The only possible value type is a BoundedTrieNode.",
4707
4801
"type": "any"
4708
4802
},
4709
4803
"updateTime": {
@@ -4729,6 +4823,10 @@
4729
4823
"description": "Optional. Set of metric labels for this metric.",
4730
4824
"type": "object"
4731
4825
},
4826
+
"valueGauge64": {
4827
+
"$ref": "DataflowGaugeValue",
4828
+
"description": "Non-cumulative int64 value of this metric."
4829
+
},
4732
4830
"valueHistogram": {
4733
4831
"$ref": "DataflowHistogramValue",
4734
4832
"description": "Histogram value of this metric."
@@ -5468,6 +5566,13 @@
5468
5566
},
5469
5567
"type": "array"
5470
5568
},
5569
+
"gpuUsage": {
5570
+
"description": "Optional. GPU usage samples.",
5571
+
"items": {
5572
+
"$ref": "GPUUsage"
5573
+
},
5574
+
"type": "array"
5575
+
},
5471
5576
"memoryInfo": {
5472
5577
"description": "Memory utilization samples.",
5473
5578
"items": {
@@ -5485,7 +5590,7 @@
5485
5590
"type": "object"
5486
5591
},
5487
5592
"RuntimeEnvironment": {
5488
-
"description": "The environment values to set at runtime. LINT.IfChange",
5593
+
"description": "The environment values to set at runtime.",
* An update to a Counter sent from a worker. Next ID: 17
478
508
*/
479
509
exportinterfaceSchema$CounterUpdate{
480
510
/**
481
511
* Boolean value for And, Or.
482
512
*/
483
513
boolean?: boolean|null;
514
+
/**
515
+
* Bounded trie data
516
+
*/
517
+
boundedTrie?: Schema$BoundedTrie;
484
518
/**
485
519
* True if this counter 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 counter is reported as a delta.
* Summary statistics for a population of values. HistogramValue contains a sequence of buckets and gives a count of values that fall into each bucket. Bucket boundares are defined by a formula and bucket widths are either fixed or exponentially increasing.
* Required. GPU utilization rate of any kernel over the last sample period in the range of [0, 1].
1225
+
*/
1226
+
rate?: number|null;
1227
+
}
1159
1228
/**
1160
1229
* Histogram of value counts for a distribution. Buckets have an inclusive lower bound and exclusive upper bound and use "1,2,5 bucketing": The first bucket range is from [0,1) and all subsequent bucket boundaries are powers of ten multiplied by 1, 2, or 5. Thus, bucket boundaries are 0, 1, 2, 5, 10, 20, 50, 100, 200, 500, 1000, ... Negative values are not supported.
* Worker-computed aggregate value for the "Set" aggregation kind. The only possible value type is a list of Values whose type can be Long, Double, or String, according to the metric's type. All Values in the list must be of the same type.
1942
+
* Worker-computed aggregate value for the "Set" aggregation kind. The only possible value type is a list of Values whose type can be Long, Double, String, or BoundedTrie according to the metric's type. All Values in the list must be of the same type.
1874
1943
*/
1875
1944
set?: any|null;
1945
+
/**
1946
+
* Worker-computed aggregate value for the "Trie" aggregation kind. The only possible value type is a BoundedTrieNode.
1947
+
*/
1948
+
trie?: any|null;
1876
1949
/**
1877
1950
* Timestamp associated with the metric value. Optional when workers are reporting work progress; it will be filled in responses from the metrics API.
0 commit comments