@maxim_mazurok/gapi.client.dataproc-v1 0.0.20230721 → 0.0.20230804
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 +21 -4
- package/package.json +2 -2
- package/tests.ts +35 -1
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: 20230804
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -956,6 +956,16 @@ declare namespace gapi.client {
|
|
|
956
956
|
/** Optional. Specifies the minimum cpu platform for the Instance Group. See Dataproc -> Minimum CPU Platform (https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu). */
|
|
957
957
|
minCpuPlatform?:
|
|
958
958
|
string;
|
|
959
|
+
/**
|
|
960
|
+
* Optional. The minimum number of instances to create. If min_num_instances is set, min_num_instances is used for a criteria to decide the cluster. Cluster creation will be failed by
|
|
961
|
+
* being an error state if the total number of instances created is less than the min_num_instances. For example, given that num_instances = 5 and min_num_instances = 3, * if 4
|
|
962
|
+
* instances are created and then registered successfully but one instance is failed, the failed VM will be deleted and the cluster will be resized to 4 instances in running state. *
|
|
963
|
+
* if 2 instances are created successfully and 3 instances are failed, the cluster will be in an error state and does not delete failed VMs for debugging. * if 2 instance are created
|
|
964
|
+
* and then registered successfully but 3 instances are failed to initialize, the cluster will be in an error state and does not delete failed VMs for debugging. NB: This can only be
|
|
965
|
+
* set for primary workers now.
|
|
966
|
+
*/
|
|
967
|
+
minNumInstances?:
|
|
968
|
+
number;
|
|
959
969
|
/** Optional. The number of VM instances in the instance group. For HA cluster master_config groups, must be set to 3. For standard cluster master_config groups, must be set to 1. */
|
|
960
970
|
numInstances?:
|
|
961
971
|
number;
|
|
@@ -1477,9 +1487,9 @@ declare namespace gapi.client {
|
|
|
1477
1487
|
name?:
|
|
1478
1488
|
string;
|
|
1479
1489
|
/**
|
|
1480
|
-
* The normal response of the operation
|
|
1481
|
-
*
|
|
1482
|
-
*
|
|
1490
|
+
* The normal, successful response of the operation. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is
|
|
1491
|
+
* standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For
|
|
1492
|
+
* example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.
|
|
1483
1493
|
*/
|
|
1484
1494
|
response?:
|
|
1485
1495
|
{ [P in string]: any };
|
|
@@ -4714,6 +4724,13 @@ declare namespace gapi.client {
|
|
|
4714
4724
|
/** Selector specifying which fields to include in a partial response. */
|
|
4715
4725
|
fields?:
|
|
4716
4726
|
string;
|
|
4727
|
+
/**
|
|
4728
|
+
* Optional. The graceful termination timeout for the deletion of the cluster. Indicate the time the request will wait to complete the running jobs on the cluster before its
|
|
4729
|
+
* forceful deletion. Default value is 0 indicating that the user has not enabled the graceful termination. Value can be between 60 second and 6 Hours, in case the graceful
|
|
4730
|
+
* termination is enabled. (There is no separate flag to check the enabling or disabling of graceful termination, it can be checked by the values in the field).
|
|
4731
|
+
*/
|
|
4732
|
+
gracefulTerminationTimeout?:
|
|
4733
|
+
string;
|
|
4717
4734
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
4718
4735
|
key?:
|
|
4719
4736
|
string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maxim_mazurok/gapi.client.dataproc-v1",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.20230804",
|
|
4
4
|
"description": "TypeScript typings for Cloud Dataproc API v1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -15,6 +15,6 @@
|
|
|
15
15
|
"types": "index.d.ts",
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@types/gapi.client": "*",
|
|
18
|
-
"@types/gapi.client.discovery": "*"
|
|
18
|
+
"@types/gapi.client.discovery-v1": "*"
|
|
19
19
|
}
|
|
20
20
|
}
|
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: 20230804
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -625,6 +625,7 @@ gapi.load('client', async () => {
|
|
|
625
625
|
instanceTemplateName: "Test string",
|
|
626
626
|
},
|
|
627
627
|
minCpuPlatform: "Test string",
|
|
628
|
+
minNumInstances: 42,
|
|
628
629
|
numInstances: 42,
|
|
629
630
|
preemptibility: "Test string",
|
|
630
631
|
},
|
|
@@ -774,6 +775,7 @@ gapi.load('client', async () => {
|
|
|
774
775
|
instanceTemplateName: "Test string",
|
|
775
776
|
},
|
|
776
777
|
minCpuPlatform: "Test string",
|
|
778
|
+
minNumInstances: 42,
|
|
777
779
|
numInstances: 42,
|
|
778
780
|
preemptibility: "Test string",
|
|
779
781
|
},
|
|
@@ -812,6 +814,7 @@ gapi.load('client', async () => {
|
|
|
812
814
|
instanceTemplateName: "Test string",
|
|
813
815
|
},
|
|
814
816
|
minCpuPlatform: "Test string",
|
|
817
|
+
minNumInstances: 42,
|
|
815
818
|
numInstances: 42,
|
|
816
819
|
preemptibility: "Test string",
|
|
817
820
|
},
|
|
@@ -881,6 +884,7 @@ gapi.load('client', async () => {
|
|
|
881
884
|
instanceTemplateName: "Test string",
|
|
882
885
|
},
|
|
883
886
|
minCpuPlatform: "Test string",
|
|
887
|
+
minNumInstances: 42,
|
|
884
888
|
numInstances: 42,
|
|
885
889
|
preemptibility: "Test string",
|
|
886
890
|
},
|
|
@@ -1231,6 +1235,7 @@ gapi.load('client', async () => {
|
|
|
1231
1235
|
instanceTemplateName: "Test string",
|
|
1232
1236
|
},
|
|
1233
1237
|
minCpuPlatform: "Test string",
|
|
1238
|
+
minNumInstances: 42,
|
|
1234
1239
|
numInstances: 42,
|
|
1235
1240
|
preemptibility: "Test string",
|
|
1236
1241
|
},
|
|
@@ -1380,6 +1385,7 @@ gapi.load('client', async () => {
|
|
|
1380
1385
|
instanceTemplateName: "Test string",
|
|
1381
1386
|
},
|
|
1382
1387
|
minCpuPlatform: "Test string",
|
|
1388
|
+
minNumInstances: 42,
|
|
1383
1389
|
numInstances: 42,
|
|
1384
1390
|
preemptibility: "Test string",
|
|
1385
1391
|
},
|
|
@@ -1418,6 +1424,7 @@ gapi.load('client', async () => {
|
|
|
1418
1424
|
instanceTemplateName: "Test string",
|
|
1419
1425
|
},
|
|
1420
1426
|
minCpuPlatform: "Test string",
|
|
1427
|
+
minNumInstances: 42,
|
|
1421
1428
|
numInstances: 42,
|
|
1422
1429
|
preemptibility: "Test string",
|
|
1423
1430
|
},
|
|
@@ -1487,6 +1494,7 @@ gapi.load('client', async () => {
|
|
|
1487
1494
|
instanceTemplateName: "Test string",
|
|
1488
1495
|
},
|
|
1489
1496
|
minCpuPlatform: "Test string",
|
|
1497
|
+
minNumInstances: 42,
|
|
1490
1498
|
numInstances: 42,
|
|
1491
1499
|
preemptibility: "Test string",
|
|
1492
1500
|
},
|
|
@@ -1837,6 +1845,7 @@ gapi.load('client', async () => {
|
|
|
1837
1845
|
instanceTemplateName: "Test string",
|
|
1838
1846
|
},
|
|
1839
1847
|
minCpuPlatform: "Test string",
|
|
1848
|
+
minNumInstances: 42,
|
|
1840
1849
|
numInstances: 42,
|
|
1841
1850
|
preemptibility: "Test string",
|
|
1842
1851
|
},
|
|
@@ -1986,6 +1995,7 @@ gapi.load('client', async () => {
|
|
|
1986
1995
|
instanceTemplateName: "Test string",
|
|
1987
1996
|
},
|
|
1988
1997
|
minCpuPlatform: "Test string",
|
|
1998
|
+
minNumInstances: 42,
|
|
1989
1999
|
numInstances: 42,
|
|
1990
2000
|
preemptibility: "Test string",
|
|
1991
2001
|
},
|
|
@@ -2024,6 +2034,7 @@ gapi.load('client', async () => {
|
|
|
2024
2034
|
instanceTemplateName: "Test string",
|
|
2025
2035
|
},
|
|
2026
2036
|
minCpuPlatform: "Test string",
|
|
2037
|
+
minNumInstances: 42,
|
|
2027
2038
|
numInstances: 42,
|
|
2028
2039
|
preemptibility: "Test string",
|
|
2029
2040
|
},
|
|
@@ -2093,6 +2104,7 @@ gapi.load('client', async () => {
|
|
|
2093
2104
|
instanceTemplateName: "Test string",
|
|
2094
2105
|
},
|
|
2095
2106
|
minCpuPlatform: "Test string",
|
|
2107
|
+
minNumInstances: 42,
|
|
2096
2108
|
numInstances: 42,
|
|
2097
2109
|
preemptibility: "Test string",
|
|
2098
2110
|
},
|
|
@@ -2290,6 +2302,7 @@ gapi.load('client', async () => {
|
|
|
2290
2302
|
instanceTemplateName: "Test string",
|
|
2291
2303
|
},
|
|
2292
2304
|
minCpuPlatform: "Test string",
|
|
2305
|
+
minNumInstances: 42,
|
|
2293
2306
|
numInstances: 42,
|
|
2294
2307
|
preemptibility: "Test string",
|
|
2295
2308
|
},
|
|
@@ -2439,6 +2452,7 @@ gapi.load('client', async () => {
|
|
|
2439
2452
|
instanceTemplateName: "Test string",
|
|
2440
2453
|
},
|
|
2441
2454
|
minCpuPlatform: "Test string",
|
|
2455
|
+
minNumInstances: 42,
|
|
2442
2456
|
numInstances: 42,
|
|
2443
2457
|
preemptibility: "Test string",
|
|
2444
2458
|
},
|
|
@@ -2477,6 +2491,7 @@ gapi.load('client', async () => {
|
|
|
2477
2491
|
instanceTemplateName: "Test string",
|
|
2478
2492
|
},
|
|
2479
2493
|
minCpuPlatform: "Test string",
|
|
2494
|
+
minNumInstances: 42,
|
|
2480
2495
|
numInstances: 42,
|
|
2481
2496
|
preemptibility: "Test string",
|
|
2482
2497
|
},
|
|
@@ -2546,6 +2561,7 @@ gapi.load('client', async () => {
|
|
|
2546
2561
|
instanceTemplateName: "Test string",
|
|
2547
2562
|
},
|
|
2548
2563
|
minCpuPlatform: "Test string",
|
|
2564
|
+
minNumInstances: 42,
|
|
2549
2565
|
numInstances: 42,
|
|
2550
2566
|
preemptibility: "Test string",
|
|
2551
2567
|
},
|
|
@@ -2645,6 +2661,7 @@ gapi.load('client', async () => {
|
|
|
2645
2661
|
await gapi.client.dataproc.projects.regions.clusters.delete({
|
|
2646
2662
|
clusterName: "Test string",
|
|
2647
2663
|
clusterUuid: "Test string",
|
|
2664
|
+
gracefulTerminationTimeout: "Test string",
|
|
2648
2665
|
projectId: "Test string",
|
|
2649
2666
|
region: "Test string",
|
|
2650
2667
|
requestId: "Test string",
|
|
@@ -2760,6 +2777,7 @@ gapi.load('client', async () => {
|
|
|
2760
2777
|
instanceTemplateName: "Test string",
|
|
2761
2778
|
},
|
|
2762
2779
|
minCpuPlatform: "Test string",
|
|
2780
|
+
minNumInstances: 42,
|
|
2763
2781
|
numInstances: 42,
|
|
2764
2782
|
preemptibility: "Test string",
|
|
2765
2783
|
},
|
|
@@ -2909,6 +2927,7 @@ gapi.load('client', async () => {
|
|
|
2909
2927
|
instanceTemplateName: "Test string",
|
|
2910
2928
|
},
|
|
2911
2929
|
minCpuPlatform: "Test string",
|
|
2930
|
+
minNumInstances: 42,
|
|
2912
2931
|
numInstances: 42,
|
|
2913
2932
|
preemptibility: "Test string",
|
|
2914
2933
|
},
|
|
@@ -2947,6 +2966,7 @@ gapi.load('client', async () => {
|
|
|
2947
2966
|
instanceTemplateName: "Test string",
|
|
2948
2967
|
},
|
|
2949
2968
|
minCpuPlatform: "Test string",
|
|
2969
|
+
minNumInstances: 42,
|
|
2950
2970
|
numInstances: 42,
|
|
2951
2971
|
preemptibility: "Test string",
|
|
2952
2972
|
},
|
|
@@ -3016,6 +3036,7 @@ gapi.load('client', async () => {
|
|
|
3016
3036
|
instanceTemplateName: "Test string",
|
|
3017
3037
|
},
|
|
3018
3038
|
minCpuPlatform: "Test string",
|
|
3039
|
+
minNumInstances: 42,
|
|
3019
3040
|
numInstances: 42,
|
|
3020
3041
|
preemptibility: "Test string",
|
|
3021
3042
|
},
|
|
@@ -3225,6 +3246,7 @@ gapi.load('client', async () => {
|
|
|
3225
3246
|
instanceTemplateName: "Test string",
|
|
3226
3247
|
},
|
|
3227
3248
|
minCpuPlatform: "Test string",
|
|
3249
|
+
minNumInstances: 42,
|
|
3228
3250
|
numInstances: 42,
|
|
3229
3251
|
preemptibility: "Test string",
|
|
3230
3252
|
},
|
|
@@ -4513,6 +4535,7 @@ gapi.load('client', async () => {
|
|
|
4513
4535
|
instanceTemplateName: "Test string",
|
|
4514
4536
|
},
|
|
4515
4537
|
minCpuPlatform: "Test string",
|
|
4538
|
+
minNumInstances: 42,
|
|
4516
4539
|
numInstances: 42,
|
|
4517
4540
|
preemptibility: "Test string",
|
|
4518
4541
|
},
|
|
@@ -4662,6 +4685,7 @@ gapi.load('client', async () => {
|
|
|
4662
4685
|
instanceTemplateName: "Test string",
|
|
4663
4686
|
},
|
|
4664
4687
|
minCpuPlatform: "Test string",
|
|
4688
|
+
minNumInstances: 42,
|
|
4665
4689
|
numInstances: 42,
|
|
4666
4690
|
preemptibility: "Test string",
|
|
4667
4691
|
},
|
|
@@ -4700,6 +4724,7 @@ gapi.load('client', async () => {
|
|
|
4700
4724
|
instanceTemplateName: "Test string",
|
|
4701
4725
|
},
|
|
4702
4726
|
minCpuPlatform: "Test string",
|
|
4727
|
+
minNumInstances: 42,
|
|
4703
4728
|
numInstances: 42,
|
|
4704
4729
|
preemptibility: "Test string",
|
|
4705
4730
|
},
|
|
@@ -4769,6 +4794,7 @@ gapi.load('client', async () => {
|
|
|
4769
4794
|
instanceTemplateName: "Test string",
|
|
4770
4795
|
},
|
|
4771
4796
|
minCpuPlatform: "Test string",
|
|
4797
|
+
minNumInstances: 42,
|
|
4772
4798
|
numInstances: 42,
|
|
4773
4799
|
preemptibility: "Test string",
|
|
4774
4800
|
},
|
|
@@ -5119,6 +5145,7 @@ gapi.load('client', async () => {
|
|
|
5119
5145
|
instanceTemplateName: "Test string",
|
|
5120
5146
|
},
|
|
5121
5147
|
minCpuPlatform: "Test string",
|
|
5148
|
+
minNumInstances: 42,
|
|
5122
5149
|
numInstances: 42,
|
|
5123
5150
|
preemptibility: "Test string",
|
|
5124
5151
|
},
|
|
@@ -5268,6 +5295,7 @@ gapi.load('client', async () => {
|
|
|
5268
5295
|
instanceTemplateName: "Test string",
|
|
5269
5296
|
},
|
|
5270
5297
|
minCpuPlatform: "Test string",
|
|
5298
|
+
minNumInstances: 42,
|
|
5271
5299
|
numInstances: 42,
|
|
5272
5300
|
preemptibility: "Test string",
|
|
5273
5301
|
},
|
|
@@ -5306,6 +5334,7 @@ gapi.load('client', async () => {
|
|
|
5306
5334
|
instanceTemplateName: "Test string",
|
|
5307
5335
|
},
|
|
5308
5336
|
minCpuPlatform: "Test string",
|
|
5337
|
+
minNumInstances: 42,
|
|
5309
5338
|
numInstances: 42,
|
|
5310
5339
|
preemptibility: "Test string",
|
|
5311
5340
|
},
|
|
@@ -5375,6 +5404,7 @@ gapi.load('client', async () => {
|
|
|
5375
5404
|
instanceTemplateName: "Test string",
|
|
5376
5405
|
},
|
|
5377
5406
|
minCpuPlatform: "Test string",
|
|
5407
|
+
minNumInstances: 42,
|
|
5378
5408
|
numInstances: 42,
|
|
5379
5409
|
preemptibility: "Test string",
|
|
5380
5410
|
},
|
|
@@ -5725,6 +5755,7 @@ gapi.load('client', async () => {
|
|
|
5725
5755
|
instanceTemplateName: "Test string",
|
|
5726
5756
|
},
|
|
5727
5757
|
minCpuPlatform: "Test string",
|
|
5758
|
+
minNumInstances: 42,
|
|
5728
5759
|
numInstances: 42,
|
|
5729
5760
|
preemptibility: "Test string",
|
|
5730
5761
|
},
|
|
@@ -5874,6 +5905,7 @@ gapi.load('client', async () => {
|
|
|
5874
5905
|
instanceTemplateName: "Test string",
|
|
5875
5906
|
},
|
|
5876
5907
|
minCpuPlatform: "Test string",
|
|
5908
|
+
minNumInstances: 42,
|
|
5877
5909
|
numInstances: 42,
|
|
5878
5910
|
preemptibility: "Test string",
|
|
5879
5911
|
},
|
|
@@ -5912,6 +5944,7 @@ gapi.load('client', async () => {
|
|
|
5912
5944
|
instanceTemplateName: "Test string",
|
|
5913
5945
|
},
|
|
5914
5946
|
minCpuPlatform: "Test string",
|
|
5947
|
+
minNumInstances: 42,
|
|
5915
5948
|
numInstances: 42,
|
|
5916
5949
|
preemptibility: "Test string",
|
|
5917
5950
|
},
|
|
@@ -5981,6 +6014,7 @@ gapi.load('client', async () => {
|
|
|
5981
6014
|
instanceTemplateName: "Test string",
|
|
5982
6015
|
},
|
|
5983
6016
|
minCpuPlatform: "Test string",
|
|
6017
|
+
minNumInstances: 42,
|
|
5984
6018
|
numInstances: 42,
|
|
5985
6019
|
preemptibility: "Test string",
|
|
5986
6020
|
},
|