Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 5f35c4d

Browse files
committedJul 5, 2023
feat(dataproc): update the api
#### dataproc:v1 The following keys were added: - schemas.ListBatchesResponse.properties.batches.readOnly (Total Keys: 1)
1 parent 4c30b55 commit 5f35c4d

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed
 

‎docs/dyn/dataproc_v1.projects.locations.batches.html

+7-7
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ <h3>Method Details</h3>
112112
&quot;creator&quot;: &quot;A String&quot;, # Output only. The email address of the user who created the batch.
113113
&quot;environmentConfig&quot;: { # Environment configuration for a workload. # Optional. Environment configuration for the batch execution.
114114
&quot;executionConfig&quot;: { # Execution configuration for a workload. # Optional. Execution configuration for a workload.
115-
&quot;idleTtl&quot;: &quot;A String&quot;, # Optional. The duration to keep the session alive while it&#x27;s idling. Exceeding this threshold causes the session to terminate. This field cannot be set on a batch workload. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)). Defaults to 4 hours if not set. If both ttl and idle_ttl are specified, the conditions are treated as OR conditions: the workload will be terminated when it has been idle for idle_ttl or when ttl has been exceed, whichever occurs first.
115+
&quot;idleTtl&quot;: &quot;A String&quot;, # Optional. The duration to keep the session alive while it&#x27;s idling. Exceeding this threshold causes the session to terminate. This field cannot be set on a batch workload. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)). Defaults to 4 hours if not set. If both ttl and idle_ttl are specified for an interactive session, the conditions are treated as OR conditions: the workload will be terminated when it has been idle for idle_ttl or when ttl has been exceeded, whichever occurs first.
116116
&quot;kmsKey&quot;: &quot;A String&quot;, # Optional. The Cloud KMS key to use for encryption.
117117
&quot;networkTags&quot;: [ # Optional. Tags used for network traffic control.
118118
&quot;A String&quot;,
@@ -121,7 +121,7 @@ <h3>Method Details</h3>
121121
&quot;serviceAccount&quot;: &quot;A String&quot;, # Optional. Service account that used to execute workload.
122122
&quot;stagingBucket&quot;: &quot;A String&quot;, # Optional. A Cloud Storage bucket used to stage workload dependencies, config files, and store workload output and other ephemeral data, such as Spark history files. If you do not specify a staging bucket, Cloud Dataproc will determine a Cloud Storage location according to the region where your workload is running, and then create and manage project-level, per-location staging and temporary buckets. This field requires a Cloud Storage bucket name, not a gs://... URI to a Cloud Storage bucket.
123123
&quot;subnetworkUri&quot;: &quot;A String&quot;, # Optional. Subnetwork URI to connect workload to.
124-
&quot;ttl&quot;: &quot;A String&quot;, # Optional. The duration after which the workload will be terminated. When the workload exceeds this duration, it will be unconditionally terminated without waiting for ongoing work to finish. If ttl is not specified for a batch workload, the workload will be allowed to run until it exits naturally (or runs forever without exiting). If ttl is not specified for an interactive session, it defaults to 24h. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)). If both ttl and idle_ttl are specified (for an interactive session), the conditions are treated as OR conditions: the workload will be terminated when it has been idle for idle_ttl or when ttl has been exceeded, whichever occurs first.
124+
&quot;ttl&quot;: &quot;A String&quot;, # Optional. The duration after which the workload will be terminated. When the workload exceeds this duration, it will be unconditionally terminated without waiting for ongoing work to finish. If ttl is not specified for a batch workload, the workload will be allowed to run until it exits naturally (or runs forever without exiting). If ttl is not specified for an interactive session, it defaults to 24h. If ttl is not specified for a batch that uses 2.1+ runtime version, it defaults to 4h. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)). If both ttl and idle_ttl are specified (for an interactive session), the conditions are treated as OR conditions: the workload will be terminated when it has been idle for idle_ttl or when ttl has been exceeded, whichever occurs first.
125125
},
126126
&quot;peripheralsConfig&quot;: { # Auxiliary services configuration for a workload. # Optional. Peripherals configuration that workload has access to.
127127
&quot;metastoreService&quot;: &quot;A String&quot;, # Optional. Resource name of an existing Dataproc Metastore service.Example: projects/[project_id]/locations/[region]/services/[service_id]
@@ -294,7 +294,7 @@ <h3>Method Details</h3>
294294
&quot;creator&quot;: &quot;A String&quot;, # Output only. The email address of the user who created the batch.
295295
&quot;environmentConfig&quot;: { # Environment configuration for a workload. # Optional. Environment configuration for the batch execution.
296296
&quot;executionConfig&quot;: { # Execution configuration for a workload. # Optional. Execution configuration for a workload.
297-
&quot;idleTtl&quot;: &quot;A String&quot;, # Optional. The duration to keep the session alive while it&#x27;s idling. Exceeding this threshold causes the session to terminate. This field cannot be set on a batch workload. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)). Defaults to 4 hours if not set. If both ttl and idle_ttl are specified, the conditions are treated as OR conditions: the workload will be terminated when it has been idle for idle_ttl or when ttl has been exceed, whichever occurs first.
297+
&quot;idleTtl&quot;: &quot;A String&quot;, # Optional. The duration to keep the session alive while it&#x27;s idling. Exceeding this threshold causes the session to terminate. This field cannot be set on a batch workload. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)). Defaults to 4 hours if not set. If both ttl and idle_ttl are specified for an interactive session, the conditions are treated as OR conditions: the workload will be terminated when it has been idle for idle_ttl or when ttl has been exceeded, whichever occurs first.
298298
&quot;kmsKey&quot;: &quot;A String&quot;, # Optional. The Cloud KMS key to use for encryption.
299299
&quot;networkTags&quot;: [ # Optional. Tags used for network traffic control.
300300
&quot;A String&quot;,
@@ -303,7 +303,7 @@ <h3>Method Details</h3>
303303
&quot;serviceAccount&quot;: &quot;A String&quot;, # Optional. Service account that used to execute workload.
304304
&quot;stagingBucket&quot;: &quot;A String&quot;, # Optional. A Cloud Storage bucket used to stage workload dependencies, config files, and store workload output and other ephemeral data, such as Spark history files. If you do not specify a staging bucket, Cloud Dataproc will determine a Cloud Storage location according to the region where your workload is running, and then create and manage project-level, per-location staging and temporary buckets. This field requires a Cloud Storage bucket name, not a gs://... URI to a Cloud Storage bucket.
305305
&quot;subnetworkUri&quot;: &quot;A String&quot;, # Optional. Subnetwork URI to connect workload to.
306-
&quot;ttl&quot;: &quot;A String&quot;, # Optional. The duration after which the workload will be terminated. When the workload exceeds this duration, it will be unconditionally terminated without waiting for ongoing work to finish. If ttl is not specified for a batch workload, the workload will be allowed to run until it exits naturally (or runs forever without exiting). If ttl is not specified for an interactive session, it defaults to 24h. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)). If both ttl and idle_ttl are specified (for an interactive session), the conditions are treated as OR conditions: the workload will be terminated when it has been idle for idle_ttl or when ttl has been exceeded, whichever occurs first.
306+
&quot;ttl&quot;: &quot;A String&quot;, # Optional. The duration after which the workload will be terminated. When the workload exceeds this duration, it will be unconditionally terminated without waiting for ongoing work to finish. If ttl is not specified for a batch workload, the workload will be allowed to run until it exits naturally (or runs forever without exiting). If ttl is not specified for an interactive session, it defaults to 24h. If ttl is not specified for a batch that uses 2.1+ runtime version, it defaults to 4h. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)). If both ttl and idle_ttl are specified (for an interactive session), the conditions are treated as OR conditions: the workload will be terminated when it has been idle for idle_ttl or when ttl has been exceeded, whichever occurs first.
307307
},
308308
&quot;peripheralsConfig&quot;: { # Auxiliary services configuration for a workload. # Optional. Peripherals configuration that workload has access to.
309309
&quot;metastoreService&quot;: &quot;A String&quot;, # Optional. Resource name of an existing Dataproc Metastore service.Example: projects/[project_id]/locations/[region]/services/[service_id]
@@ -428,13 +428,13 @@ <h3>Method Details</h3>
428428
An object of the form:
429429

430430
{ # A list of batch workloads.
431-
&quot;batches&quot;: [ # The batches from the specified collection.
431+
&quot;batches&quot;: [ # Output only. The batches from the specified collection.
432432
{ # A representation of a batch workload in the service.
433433
&quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the batch was created.
434434
&quot;creator&quot;: &quot;A String&quot;, # Output only. The email address of the user who created the batch.
435435
&quot;environmentConfig&quot;: { # Environment configuration for a workload. # Optional. Environment configuration for the batch execution.
436436
&quot;executionConfig&quot;: { # Execution configuration for a workload. # Optional. Execution configuration for a workload.
437-
&quot;idleTtl&quot;: &quot;A String&quot;, # Optional. The duration to keep the session alive while it&#x27;s idling. Exceeding this threshold causes the session to terminate. This field cannot be set on a batch workload. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)). Defaults to 4 hours if not set. If both ttl and idle_ttl are specified, the conditions are treated as OR conditions: the workload will be terminated when it has been idle for idle_ttl or when ttl has been exceed, whichever occurs first.
437+
&quot;idleTtl&quot;: &quot;A String&quot;, # Optional. The duration to keep the session alive while it&#x27;s idling. Exceeding this threshold causes the session to terminate. This field cannot be set on a batch workload. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)). Defaults to 4 hours if not set. If both ttl and idle_ttl are specified for an interactive session, the conditions are treated as OR conditions: the workload will be terminated when it has been idle for idle_ttl or when ttl has been exceeded, whichever occurs first.
438438
&quot;kmsKey&quot;: &quot;A String&quot;, # Optional. The Cloud KMS key to use for encryption.
439439
&quot;networkTags&quot;: [ # Optional. Tags used for network traffic control.
440440
&quot;A String&quot;,
@@ -443,7 +443,7 @@ <h3>Method Details</h3>
443443
&quot;serviceAccount&quot;: &quot;A String&quot;, # Optional. Service account that used to execute workload.
444444
&quot;stagingBucket&quot;: &quot;A String&quot;, # Optional. A Cloud Storage bucket used to stage workload dependencies, config files, and store workload output and other ephemeral data, such as Spark history files. If you do not specify a staging bucket, Cloud Dataproc will determine a Cloud Storage location according to the region where your workload is running, and then create and manage project-level, per-location staging and temporary buckets. This field requires a Cloud Storage bucket name, not a gs://... URI to a Cloud Storage bucket.
445445
&quot;subnetworkUri&quot;: &quot;A String&quot;, # Optional. Subnetwork URI to connect workload to.
446-
&quot;ttl&quot;: &quot;A String&quot;, # Optional. The duration after which the workload will be terminated. When the workload exceeds this duration, it will be unconditionally terminated without waiting for ongoing work to finish. If ttl is not specified for a batch workload, the workload will be allowed to run until it exits naturally (or runs forever without exiting). If ttl is not specified for an interactive session, it defaults to 24h. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)). If both ttl and idle_ttl are specified (for an interactive session), the conditions are treated as OR conditions: the workload will be terminated when it has been idle for idle_ttl or when ttl has been exceeded, whichever occurs first.
446+
&quot;ttl&quot;: &quot;A String&quot;, # Optional. The duration after which the workload will be terminated. When the workload exceeds this duration, it will be unconditionally terminated without waiting for ongoing work to finish. If ttl is not specified for a batch workload, the workload will be allowed to run until it exits naturally (or runs forever without exiting). If ttl is not specified for an interactive session, it defaults to 24h. If ttl is not specified for a batch that uses 2.1+ runtime version, it defaults to 4h. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)). If both ttl and idle_ttl are specified (for an interactive session), the conditions are treated as OR conditions: the workload will be terminated when it has been idle for idle_ttl or when ttl has been exceeded, whichever occurs first.
447447
},
448448
&quot;peripheralsConfig&quot;: { # Auxiliary services configuration for a workload. # Optional. Peripherals configuration that workload has access to.
449449
&quot;metastoreService&quot;: &quot;A String&quot;, # Optional. Resource name of an existing Dataproc Metastore service.Example: projects/[project_id]/locations/[region]/services/[service_id]

‎googleapiclient/discovery_cache/documents/dataproc.v1.json

+5-4
Original file line numberDiff line numberDiff line change
@@ -2671,7 +2671,7 @@
26712671
}
26722672
}
26732673
},
2674-
"revision": "20230523",
2674+
"revision": "20230622",
26752675
"rootUrl": "https://dataproc.googleapis.com/",
26762676
"schemas": {
26772677
"AcceleratorConfig": {
@@ -3548,7 +3548,7 @@
35483548
"id": "ExecutionConfig",
35493549
"properties": {
35503550
"idleTtl": {
3551-
"description": "Optional. The duration to keep the session alive while it's idling. Exceeding this threshold causes the session to terminate. This field cannot be set on a batch workload. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)). Defaults to 4 hours if not set. If both ttl and idle_ttl are specified, the conditions are treated as OR conditions: the workload will be terminated when it has been idle for idle_ttl or when ttl has been exceed, whichever occurs first.",
3551+
"description": "Optional. The duration to keep the session alive while it's idling. Exceeding this threshold causes the session to terminate. This field cannot be set on a batch workload. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)). Defaults to 4 hours if not set. If both ttl and idle_ttl are specified for an interactive session, the conditions are treated as OR conditions: the workload will be terminated when it has been idle for idle_ttl or when ttl has been exceeded, whichever occurs first.",
35523552
"format": "google-duration",
35533553
"type": "string"
35543554
},
@@ -3580,7 +3580,7 @@
35803580
"type": "string"
35813581
},
35823582
"ttl": {
3583-
"description": "Optional. The duration after which the workload will be terminated. When the workload exceeds this duration, it will be unconditionally terminated without waiting for ongoing work to finish. If ttl is not specified for a batch workload, the workload will be allowed to run until it exits naturally (or runs forever without exiting). If ttl is not specified for an interactive session, it defaults to 24h. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)). If both ttl and idle_ttl are specified (for an interactive session), the conditions are treated as OR conditions: the workload will be terminated when it has been idle for idle_ttl or when ttl has been exceeded, whichever occurs first.",
3583+
"description": "Optional. The duration after which the workload will be terminated. When the workload exceeds this duration, it will be unconditionally terminated without waiting for ongoing work to finish. If ttl is not specified for a batch workload, the workload will be allowed to run until it exits naturally (or runs forever without exiting). If ttl is not specified for an interactive session, it defaults to 24h. If ttl is not specified for a batch that uses 2.1+ runtime version, it defaults to 4h. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)). If both ttl and idle_ttl are specified (for an interactive session), the conditions are treated as OR conditions: the workload will be terminated when it has been idle for idle_ttl or when ttl has been exceeded, whichever occurs first.",
35843584
"format": "google-duration",
35853585
"type": "string"
35863586
}
@@ -4569,10 +4569,11 @@
45694569
"id": "ListBatchesResponse",
45704570
"properties": {
45714571
"batches": {
4572-
"description": "The batches from the specified collection.",
4572+
"description": "Output only. The batches from the specified collection.",
45734573
"items": {
45744574
"$ref": "Batch"
45754575
},
4576+
"readOnly": true,
45764577
"type": "array"
45774578
},
45784579
"nextPageToken": {

0 commit comments

Comments
 (0)
Please sign in to comment.