Skip to content

Commit 6768b1f

Browse files
feat(dataflow): update the api
#### dataflow:v1b3 The following keys were added: - schemas.GPUUsage (Total Keys: 5) - schemas.GPUUtilization (Total Keys: 4) - schemas.ResourceUtilizationReport.properties.gpuUsage (Total Keys: 2)
1 parent d35e92e commit 6768b1f

File tree

3 files changed

+52
-1
lines changed

3 files changed

+52
-1
lines changed

docs/dyn/dataflow_v1b3.projects.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,14 @@ <h3>Method Details</h3>
243243
&quot;totalMs&quot;: &quot;A String&quot;, # Total active CPU time across all cores (ie., non-idle) in milliseconds since start-up.
244244
},
245245
],
246+
&quot;gpuUsage&quot;: [ # Optional. GPU usage samples.
247+
{ # Information about the GPU usage on the worker.
248+
&quot;timestamp&quot;: &quot;A String&quot;, # Required. Timestamp of the measurement.
249+
&quot;utilization&quot;: { # Utilization details about the GPU. # Required. Utilization info about the GPU.
250+
&quot;rate&quot;: 3.14, # Required. GPU utilization rate of any kernel over the last sample period in the range of [0, 1].
251+
},
252+
},
253+
],
246254
&quot;memoryInfo&quot;: [ # Memory utilization samples.
247255
{ # Information about the memory usage of a worker or a container within a worker.
248256
&quot;currentLimitBytes&quot;: &quot;A String&quot;, # Instantenous memory limit in bytes.

docs/dyn/dataflow_v1b3.projects.locations.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,14 @@ <h3>Method Details</h3>
221221
&quot;totalMs&quot;: &quot;A String&quot;, # Total active CPU time across all cores (ie., non-idle) in milliseconds since start-up.
222222
},
223223
],
224+
&quot;gpuUsage&quot;: [ # Optional. GPU usage samples.
225+
{ # Information about the GPU usage on the worker.
226+
&quot;timestamp&quot;: &quot;A String&quot;, # Required. Timestamp of the measurement.
227+
&quot;utilization&quot;: { # Utilization details about the GPU. # Required. Utilization info about the GPU.
228+
&quot;rate&quot;: 3.14, # Required. GPU utilization rate of any kernel over the last sample period in the range of [0, 1].
229+
},
230+
},
231+
],
224232
&quot;memoryInfo&quot;: [ # Memory utilization samples.
225233
{ # Information about the memory usage of a worker or a container within a worker.
226234
&quot;currentLimitBytes&quot;: &quot;A String&quot;, # Instantenous memory limit in bytes.

googleapiclient/discovery_cache/documents/dataflow.v1b3.json

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2208,7 +2208,7 @@
22082208
}
22092209
}
22102210
},
2211-
"revision": "20241014",
2211+
"revision": "20241028",
22122212
"rootUrl": "https://dataflow.googleapis.com/",
22132213
"schemas": {
22142214
"ApproximateProgress": {
@@ -3632,6 +3632,34 @@
36323632
},
36333633
"type": "object"
36343634
},
3635+
"GPUUsage": {
3636+
"description": "Information about the GPU usage on the worker.",
3637+
"id": "GPUUsage",
3638+
"properties": {
3639+
"timestamp": {
3640+
"description": "Required. Timestamp of the measurement.",
3641+
"format": "google-datetime",
3642+
"type": "string"
3643+
},
3644+
"utilization": {
3645+
"$ref": "GPUUtilization",
3646+
"description": "Required. Utilization info about the GPU."
3647+
}
3648+
},
3649+
"type": "object"
3650+
},
3651+
"GPUUtilization": {
3652+
"description": "Utilization details about the GPU.",
3653+
"id": "GPUUtilization",
3654+
"properties": {
3655+
"rate": {
3656+
"description": "Required. GPU utilization rate of any kernel over the last sample period in the range of [0, 1].",
3657+
"format": "double",
3658+
"type": "number"
3659+
}
3660+
},
3661+
"type": "object"
3662+
},
36353663
"GetDebugConfigRequest": {
36363664
"description": "Request to get updated debug configuration for component.",
36373665
"id": "GetDebugConfigRequest",
@@ -5468,6 +5496,13 @@ false
54685496
},
54695497
"type": "array"
54705498
},
5499+
"gpuUsage": {
5500+
"description": "Optional. GPU usage samples.",
5501+
"items": {
5502+
"$ref": "GPUUsage"
5503+
},
5504+
"type": "array"
5505+
},
54715506
"memoryInfo": {
54725507
"description": "Memory utilization samples.",
54735508
"items": {

0 commit comments

Comments
 (0)