@maxim_mazurok/gapi.client.dataproc-v1 0.0.20230227 → 0.0.20230309
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +16 -20
- package/package.json +1 -1
- package/tests.ts +9 -13
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://dataproc.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230309
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -371,8 +371,12 @@ declare namespace gapi.client {
|
|
|
371
371
|
diagnosisInterval?: Interval;
|
|
372
372
|
/** Optional. DEPRECATED Specifies the job on which diagnosis is to be performed. Format: projects/{project}/regions/{region}/jobs/{job} */
|
|
373
373
|
job?: string;
|
|
374
|
+
/** Optional. Specifies a list of jobs on which diagnosis is to be performed. Format: projects/{project}/regions/{region}/jobs/{job} */
|
|
375
|
+
jobs?: string[];
|
|
374
376
|
/** Optional. DEPRECATED Specifies the yarn application on which diagnosis is to be performed. */
|
|
375
377
|
yarnApplicationId?: string;
|
|
378
|
+
/** Optional. Specifies a list of yarn applications on which diagnosis is to be performed. */
|
|
379
|
+
yarnApplicationIds?: string[];
|
|
376
380
|
}
|
|
377
381
|
interface DiagnoseClusterResults {
|
|
378
382
|
/** Output only. The Cloud Storage URI of the diagnostic output. The output report is a plain text file with a summary of collected diagnostics. */
|
|
@@ -427,9 +431,10 @@ declare namespace gapi.client {
|
|
|
427
431
|
}
|
|
428
432
|
interface ExecutionConfig {
|
|
429
433
|
/**
|
|
430
|
-
* Optional. The duration to keep the session alive while it's idling.
|
|
431
|
-
* days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)). Defaults to 4 hours if not
|
|
432
|
-
* the conditions are treated as
|
|
434
|
+
* 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
|
|
435
|
+
* 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
|
|
436
|
+
* 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
|
|
437
|
+
* exceed, whichever occurs first.
|
|
433
438
|
*/
|
|
434
439
|
idleTtl?: string;
|
|
435
440
|
/** Optional. The Cloud KMS key to use for encryption. */
|
|
@@ -449,10 +454,11 @@ declare namespace gapi.client {
|
|
|
449
454
|
/** Optional. Subnetwork URI to connect workload to. */
|
|
450
455
|
subnetworkUri?: string;
|
|
451
456
|
/**
|
|
452
|
-
* Optional. The duration after which the workload will be terminated. When the workload
|
|
453
|
-
*
|
|
454
|
-
*
|
|
455
|
-
* If ttl
|
|
457
|
+
* 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
|
|
458
|
+
* 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
|
|
459
|
+
* an interactive session, it defaults to 24h. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration
|
|
460
|
+
* (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:
|
|
461
|
+
* the workload will be terminated when it has been idle for idle_ttl or when ttl has been exceeded, whichever occurs first.
|
|
456
462
|
*/
|
|
457
463
|
ttl?: string;
|
|
458
464
|
}
|
|
@@ -2382,12 +2388,7 @@ declare namespace gapi.client {
|
|
|
2382
2388
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2383
2389
|
uploadType?: string;
|
|
2384
2390
|
}): Request<Operation>;
|
|
2385
|
-
/**
|
|
2386
|
-
* Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding allows API services to
|
|
2387
|
-
* override the binding to use different resource name schemes, such as users/*/operations. To override the binding, API services can add a binding such as
|
|
2388
|
-
* "/v1/{name=users/*}/operations" to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
|
|
2389
|
-
* ensure the name binding is the parent resource, without the operations collection id.
|
|
2390
|
-
*/
|
|
2391
|
+
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED. */
|
|
2391
2392
|
list(request?: {
|
|
2392
2393
|
/** V1 error format. */
|
|
2393
2394
|
"$.xgafv"?: string;
|
|
@@ -4728,12 +4729,7 @@ declare namespace gapi.client {
|
|
|
4728
4729
|
uploadType?: string;
|
|
4729
4730
|
},
|
|
4730
4731
|
body: GetIamPolicyRequest): Request<Policy>;
|
|
4731
|
-
/**
|
|
4732
|
-
* Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding allows API services to
|
|
4733
|
-
* override the binding to use different resource name schemes, such as users/*/operations. To override the binding, API services can add a binding such as
|
|
4734
|
-
* "/v1/{name=users/*}/operations" to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must
|
|
4735
|
-
* ensure the name binding is the parent resource, without the operations collection id.
|
|
4736
|
-
*/
|
|
4732
|
+
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED. */
|
|
4737
4733
|
list(request?: {
|
|
4738
4734
|
/** V1 error format. */
|
|
4739
4735
|
"$.xgafv"?: string;
|
package/package.json
CHANGED
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20230309
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -318,12 +318,7 @@ gapi.load('client', async () => {
|
|
|
318
318
|
await gapi.client.dataproc.projects.locations.operations.get({
|
|
319
319
|
name: "Test string",
|
|
320
320
|
});
|
|
321
|
-
/**
|
|
322
|
-
* Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding allows API services to
|
|
323
|
-
* override the binding to use different resource name schemes, such as users/*/operations. To override the binding, API services can add a binding such as "/v1/{name=users/*}/operations"
|
|
324
|
-
* to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent
|
|
325
|
-
* resource, without the operations collection id.
|
|
326
|
-
*/
|
|
321
|
+
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED. */
|
|
327
322
|
await gapi.client.dataproc.projects.locations.operations.list({
|
|
328
323
|
filter: "Test string",
|
|
329
324
|
name: "Test string",
|
|
@@ -2667,7 +2662,13 @@ gapi.load('client', async () => {
|
|
|
2667
2662
|
startTime: "Test string",
|
|
2668
2663
|
},
|
|
2669
2664
|
job: "Test string",
|
|
2665
|
+
jobs: [
|
|
2666
|
+
"Test string"
|
|
2667
|
+
],
|
|
2670
2668
|
yarnApplicationId: "Test string",
|
|
2669
|
+
yarnApplicationIds: [
|
|
2670
|
+
"Test string"
|
|
2671
|
+
],
|
|
2671
2672
|
});
|
|
2672
2673
|
/** Gets the resource representation for a cluster in a project. */
|
|
2673
2674
|
await gapi.client.dataproc.projects.regions.clusters.get({
|
|
@@ -4114,12 +4115,7 @@ gapi.load('client', async () => {
|
|
|
4114
4115
|
requestedPolicyVersion: 42,
|
|
4115
4116
|
},
|
|
4116
4117
|
});
|
|
4117
|
-
/**
|
|
4118
|
-
* Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED.NOTE: the name binding allows API services to
|
|
4119
|
-
* override the binding to use different resource name schemes, such as users/*/operations. To override the binding, API services can add a binding such as "/v1/{name=users/*}/operations"
|
|
4120
|
-
* to their service configuration. For backwards compatibility, the default name includes the operations collection id, however overriding users must ensure the name binding is the parent
|
|
4121
|
-
* resource, without the operations collection id.
|
|
4122
|
-
*/
|
|
4118
|
+
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED. */
|
|
4123
4119
|
await gapi.client.dataproc.projects.regions.operations.list({
|
|
4124
4120
|
filter: "Test string",
|
|
4125
4121
|
name: "Test string",
|