@maxim_mazurok/gapi.client.dataproc-v1 0.0.20230919 → 0.0.20230926
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 -1
- package/package.json +1 -1
- package/tests.ts +104 -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: 20230926
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -984,6 +984,9 @@ declare namespace gapi.client {
|
|
|
984
984
|
*/
|
|
985
985
|
preemptibility?:
|
|
986
986
|
string;
|
|
987
|
+
/** Optional. Configuration to handle the startup of instances during cluster create and update process. */
|
|
988
|
+
startupConfig?:
|
|
989
|
+
StartupConfig;
|
|
987
990
|
}
|
|
988
991
|
interface InstanceReference {
|
|
989
992
|
/** The unique identifier of the Compute Engine instance. */
|
|
@@ -2186,6 +2189,9 @@ declare namespace gapi.client {
|
|
|
2186
2189
|
*/
|
|
2187
2190
|
gracefulDecommissionTimeout?:
|
|
2188
2191
|
string;
|
|
2192
|
+
/** Optional. Remove only idle workers when scaling down cluster */
|
|
2193
|
+
removeOnlyIdleWorkers?:
|
|
2194
|
+
boolean;
|
|
2189
2195
|
/**
|
|
2190
2196
|
* Required. Fraction of required executors to remove from Spark Serverless clusters. A scale-down factor of 1.0 will result in scaling down so that there are no more executors for the
|
|
2191
2197
|
* Spark Job.(more aggressive scaling). A scale-down factor closer to 0 will result in a smaller magnitude of scaling donw (less aggressive scaling).Bounds: 0.0, 1.0.
|
|
@@ -2225,6 +2231,15 @@ declare namespace gapi.client {
|
|
|
2225
2231
|
requestId?:
|
|
2226
2232
|
string;
|
|
2227
2233
|
}
|
|
2234
|
+
interface StartupConfig {
|
|
2235
|
+
/**
|
|
2236
|
+
* Optional. The config setting to enable cluster creation/ updation to be successful only after required_registration_fraction of instances are up and running. This configuration is
|
|
2237
|
+
* applicable to only secondary workers for now. The cluster will fail if required_registration_fraction of instances are not available. This will include instance creation, agent
|
|
2238
|
+
* registration, and service registration (if enabled).
|
|
2239
|
+
*/
|
|
2240
|
+
requiredRegistrationFraction?:
|
|
2241
|
+
number;
|
|
2242
|
+
}
|
|
2228
2243
|
interface StateHistory {
|
|
2229
2244
|
/** Output only. The state of the batch at this point in history. */
|
|
2230
2245
|
state?:
|
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: 20230926
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -37,6 +37,7 @@ gapi.load('client', async () => {
|
|
|
37
37
|
cooldownPeriod: "Test string",
|
|
38
38
|
sparkStandaloneConfig: {
|
|
39
39
|
gracefulDecommissionTimeout: "Test string",
|
|
40
|
+
removeOnlyIdleWorkers: true,
|
|
40
41
|
scaleDownFactor: 42,
|
|
41
42
|
scaleDownMinWorkerFraction: 42,
|
|
42
43
|
scaleUpFactor: 42,
|
|
@@ -130,6 +131,7 @@ gapi.load('client', async () => {
|
|
|
130
131
|
cooldownPeriod: "Test string",
|
|
131
132
|
sparkStandaloneConfig: {
|
|
132
133
|
gracefulDecommissionTimeout: "Test string",
|
|
134
|
+
removeOnlyIdleWorkers: true,
|
|
133
135
|
scaleDownFactor: 42,
|
|
134
136
|
scaleDownMinWorkerFraction: 42,
|
|
135
137
|
scaleUpFactor: 42,
|
|
@@ -886,6 +888,9 @@ gapi.load('client', async () => {
|
|
|
886
888
|
minNumInstances: 42,
|
|
887
889
|
numInstances: 42,
|
|
888
890
|
preemptibility: "Test string",
|
|
891
|
+
startupConfig: {
|
|
892
|
+
requiredRegistrationFraction: 42,
|
|
893
|
+
},
|
|
889
894
|
},
|
|
890
895
|
roles: [
|
|
891
896
|
"Test string"
|
|
@@ -1052,6 +1057,9 @@ gapi.load('client', async () => {
|
|
|
1052
1057
|
minNumInstances: 42,
|
|
1053
1058
|
numInstances: 42,
|
|
1054
1059
|
preemptibility: "Test string",
|
|
1060
|
+
startupConfig: {
|
|
1061
|
+
requiredRegistrationFraction: 42,
|
|
1062
|
+
},
|
|
1055
1063
|
},
|
|
1056
1064
|
metastoreConfig: {
|
|
1057
1065
|
dataprocMetastoreService: "Test string",
|
|
@@ -1108,6 +1116,9 @@ gapi.load('client', async () => {
|
|
|
1108
1116
|
minNumInstances: 42,
|
|
1109
1117
|
numInstances: 42,
|
|
1110
1118
|
preemptibility: "Test string",
|
|
1119
|
+
startupConfig: {
|
|
1120
|
+
requiredRegistrationFraction: 42,
|
|
1121
|
+
},
|
|
1111
1122
|
},
|
|
1112
1123
|
securityConfig: {
|
|
1113
1124
|
identityConfig: {
|
|
@@ -1195,6 +1206,9 @@ gapi.load('client', async () => {
|
|
|
1195
1206
|
minNumInstances: 42,
|
|
1196
1207
|
numInstances: 42,
|
|
1197
1208
|
preemptibility: "Test string",
|
|
1209
|
+
startupConfig: {
|
|
1210
|
+
requiredRegistrationFraction: 42,
|
|
1211
|
+
},
|
|
1198
1212
|
},
|
|
1199
1213
|
},
|
|
1200
1214
|
labels: {
|
|
@@ -1582,6 +1596,9 @@ gapi.load('client', async () => {
|
|
|
1582
1596
|
minNumInstances: 42,
|
|
1583
1597
|
numInstances: 42,
|
|
1584
1598
|
preemptibility: "Test string",
|
|
1599
|
+
startupConfig: {
|
|
1600
|
+
requiredRegistrationFraction: 42,
|
|
1601
|
+
},
|
|
1585
1602
|
},
|
|
1586
1603
|
roles: [
|
|
1587
1604
|
"Test string"
|
|
@@ -1748,6 +1765,9 @@ gapi.load('client', async () => {
|
|
|
1748
1765
|
minNumInstances: 42,
|
|
1749
1766
|
numInstances: 42,
|
|
1750
1767
|
preemptibility: "Test string",
|
|
1768
|
+
startupConfig: {
|
|
1769
|
+
requiredRegistrationFraction: 42,
|
|
1770
|
+
},
|
|
1751
1771
|
},
|
|
1752
1772
|
metastoreConfig: {
|
|
1753
1773
|
dataprocMetastoreService: "Test string",
|
|
@@ -1804,6 +1824,9 @@ gapi.load('client', async () => {
|
|
|
1804
1824
|
minNumInstances: 42,
|
|
1805
1825
|
numInstances: 42,
|
|
1806
1826
|
preemptibility: "Test string",
|
|
1827
|
+
startupConfig: {
|
|
1828
|
+
requiredRegistrationFraction: 42,
|
|
1829
|
+
},
|
|
1807
1830
|
},
|
|
1808
1831
|
securityConfig: {
|
|
1809
1832
|
identityConfig: {
|
|
@@ -1891,6 +1914,9 @@ gapi.load('client', async () => {
|
|
|
1891
1914
|
minNumInstances: 42,
|
|
1892
1915
|
numInstances: 42,
|
|
1893
1916
|
preemptibility: "Test string",
|
|
1917
|
+
startupConfig: {
|
|
1918
|
+
requiredRegistrationFraction: 42,
|
|
1919
|
+
},
|
|
1894
1920
|
},
|
|
1895
1921
|
},
|
|
1896
1922
|
labels: {
|
|
@@ -2278,6 +2304,9 @@ gapi.load('client', async () => {
|
|
|
2278
2304
|
minNumInstances: 42,
|
|
2279
2305
|
numInstances: 42,
|
|
2280
2306
|
preemptibility: "Test string",
|
|
2307
|
+
startupConfig: {
|
|
2308
|
+
requiredRegistrationFraction: 42,
|
|
2309
|
+
},
|
|
2281
2310
|
},
|
|
2282
2311
|
roles: [
|
|
2283
2312
|
"Test string"
|
|
@@ -2444,6 +2473,9 @@ gapi.load('client', async () => {
|
|
|
2444
2473
|
minNumInstances: 42,
|
|
2445
2474
|
numInstances: 42,
|
|
2446
2475
|
preemptibility: "Test string",
|
|
2476
|
+
startupConfig: {
|
|
2477
|
+
requiredRegistrationFraction: 42,
|
|
2478
|
+
},
|
|
2447
2479
|
},
|
|
2448
2480
|
metastoreConfig: {
|
|
2449
2481
|
dataprocMetastoreService: "Test string",
|
|
@@ -2500,6 +2532,9 @@ gapi.load('client', async () => {
|
|
|
2500
2532
|
minNumInstances: 42,
|
|
2501
2533
|
numInstances: 42,
|
|
2502
2534
|
preemptibility: "Test string",
|
|
2535
|
+
startupConfig: {
|
|
2536
|
+
requiredRegistrationFraction: 42,
|
|
2537
|
+
},
|
|
2503
2538
|
},
|
|
2504
2539
|
securityConfig: {
|
|
2505
2540
|
identityConfig: {
|
|
@@ -2587,6 +2622,9 @@ gapi.load('client', async () => {
|
|
|
2587
2622
|
minNumInstances: 42,
|
|
2588
2623
|
numInstances: 42,
|
|
2589
2624
|
preemptibility: "Test string",
|
|
2625
|
+
startupConfig: {
|
|
2626
|
+
requiredRegistrationFraction: 42,
|
|
2627
|
+
},
|
|
2590
2628
|
},
|
|
2591
2629
|
},
|
|
2592
2630
|
labels: {
|
|
@@ -2605,6 +2643,7 @@ gapi.load('client', async () => {
|
|
|
2605
2643
|
cooldownPeriod: "Test string",
|
|
2606
2644
|
sparkStandaloneConfig: {
|
|
2607
2645
|
gracefulDecommissionTimeout: "Test string",
|
|
2646
|
+
removeOnlyIdleWorkers: true,
|
|
2608
2647
|
scaleDownFactor: 42,
|
|
2609
2648
|
scaleDownMinWorkerFraction: 42,
|
|
2610
2649
|
scaleUpFactor: 42,
|
|
@@ -2698,6 +2737,7 @@ gapi.load('client', async () => {
|
|
|
2698
2737
|
cooldownPeriod: "Test string",
|
|
2699
2738
|
sparkStandaloneConfig: {
|
|
2700
2739
|
gracefulDecommissionTimeout: "Test string",
|
|
2740
|
+
removeOnlyIdleWorkers: true,
|
|
2701
2741
|
scaleDownFactor: 42,
|
|
2702
2742
|
scaleDownMinWorkerFraction: 42,
|
|
2703
2743
|
scaleUpFactor: 42,
|
|
@@ -2802,6 +2842,9 @@ gapi.load('client', async () => {
|
|
|
2802
2842
|
minNumInstances: 42,
|
|
2803
2843
|
numInstances: 42,
|
|
2804
2844
|
preemptibility: "Test string",
|
|
2845
|
+
startupConfig: {
|
|
2846
|
+
requiredRegistrationFraction: 42,
|
|
2847
|
+
},
|
|
2805
2848
|
},
|
|
2806
2849
|
roles: [
|
|
2807
2850
|
"Test string"
|
|
@@ -2968,6 +3011,9 @@ gapi.load('client', async () => {
|
|
|
2968
3011
|
minNumInstances: 42,
|
|
2969
3012
|
numInstances: 42,
|
|
2970
3013
|
preemptibility: "Test string",
|
|
3014
|
+
startupConfig: {
|
|
3015
|
+
requiredRegistrationFraction: 42,
|
|
3016
|
+
},
|
|
2971
3017
|
},
|
|
2972
3018
|
metastoreConfig: {
|
|
2973
3019
|
dataprocMetastoreService: "Test string",
|
|
@@ -3024,6 +3070,9 @@ gapi.load('client', async () => {
|
|
|
3024
3070
|
minNumInstances: 42,
|
|
3025
3071
|
numInstances: 42,
|
|
3026
3072
|
preemptibility: "Test string",
|
|
3073
|
+
startupConfig: {
|
|
3074
|
+
requiredRegistrationFraction: 42,
|
|
3075
|
+
},
|
|
3027
3076
|
},
|
|
3028
3077
|
securityConfig: {
|
|
3029
3078
|
identityConfig: {
|
|
@@ -3111,6 +3160,9 @@ gapi.load('client', async () => {
|
|
|
3111
3160
|
minNumInstances: 42,
|
|
3112
3161
|
numInstances: 42,
|
|
3113
3162
|
preemptibility: "Test string",
|
|
3163
|
+
startupConfig: {
|
|
3164
|
+
requiredRegistrationFraction: 42,
|
|
3165
|
+
},
|
|
3114
3166
|
},
|
|
3115
3167
|
},
|
|
3116
3168
|
labels: {
|
|
@@ -3345,6 +3397,9 @@ gapi.load('client', async () => {
|
|
|
3345
3397
|
minNumInstances: 42,
|
|
3346
3398
|
numInstances: 42,
|
|
3347
3399
|
preemptibility: "Test string",
|
|
3400
|
+
startupConfig: {
|
|
3401
|
+
requiredRegistrationFraction: 42,
|
|
3402
|
+
},
|
|
3348
3403
|
},
|
|
3349
3404
|
roles: [
|
|
3350
3405
|
"Test string"
|
|
@@ -3511,6 +3566,9 @@ gapi.load('client', async () => {
|
|
|
3511
3566
|
minNumInstances: 42,
|
|
3512
3567
|
numInstances: 42,
|
|
3513
3568
|
preemptibility: "Test string",
|
|
3569
|
+
startupConfig: {
|
|
3570
|
+
requiredRegistrationFraction: 42,
|
|
3571
|
+
},
|
|
3514
3572
|
},
|
|
3515
3573
|
metastoreConfig: {
|
|
3516
3574
|
dataprocMetastoreService: "Test string",
|
|
@@ -3567,6 +3625,9 @@ gapi.load('client', async () => {
|
|
|
3567
3625
|
minNumInstances: 42,
|
|
3568
3626
|
numInstances: 42,
|
|
3569
3627
|
preemptibility: "Test string",
|
|
3628
|
+
startupConfig: {
|
|
3629
|
+
requiredRegistrationFraction: 42,
|
|
3630
|
+
},
|
|
3570
3631
|
},
|
|
3571
3632
|
securityConfig: {
|
|
3572
3633
|
identityConfig: {
|
|
@@ -3654,6 +3715,9 @@ gapi.load('client', async () => {
|
|
|
3654
3715
|
minNumInstances: 42,
|
|
3655
3716
|
numInstances: 42,
|
|
3656
3717
|
preemptibility: "Test string",
|
|
3718
|
+
startupConfig: {
|
|
3719
|
+
requiredRegistrationFraction: 42,
|
|
3720
|
+
},
|
|
3657
3721
|
},
|
|
3658
3722
|
},
|
|
3659
3723
|
labels: {
|
|
@@ -3881,6 +3945,9 @@ gapi.load('client', async () => {
|
|
|
3881
3945
|
minNumInstances: 42,
|
|
3882
3946
|
numInstances: 42,
|
|
3883
3947
|
preemptibility: "Test string",
|
|
3948
|
+
startupConfig: {
|
|
3949
|
+
requiredRegistrationFraction: 42,
|
|
3950
|
+
},
|
|
3884
3951
|
},
|
|
3885
3952
|
roles: [
|
|
3886
3953
|
"Test string"
|
|
@@ -5206,6 +5273,9 @@ gapi.load('client', async () => {
|
|
|
5206
5273
|
minNumInstances: 42,
|
|
5207
5274
|
numInstances: 42,
|
|
5208
5275
|
preemptibility: "Test string",
|
|
5276
|
+
startupConfig: {
|
|
5277
|
+
requiredRegistrationFraction: 42,
|
|
5278
|
+
},
|
|
5209
5279
|
},
|
|
5210
5280
|
roles: [
|
|
5211
5281
|
"Test string"
|
|
@@ -5372,6 +5442,9 @@ gapi.load('client', async () => {
|
|
|
5372
5442
|
minNumInstances: 42,
|
|
5373
5443
|
numInstances: 42,
|
|
5374
5444
|
preemptibility: "Test string",
|
|
5445
|
+
startupConfig: {
|
|
5446
|
+
requiredRegistrationFraction: 42,
|
|
5447
|
+
},
|
|
5375
5448
|
},
|
|
5376
5449
|
metastoreConfig: {
|
|
5377
5450
|
dataprocMetastoreService: "Test string",
|
|
@@ -5428,6 +5501,9 @@ gapi.load('client', async () => {
|
|
|
5428
5501
|
minNumInstances: 42,
|
|
5429
5502
|
numInstances: 42,
|
|
5430
5503
|
preemptibility: "Test string",
|
|
5504
|
+
startupConfig: {
|
|
5505
|
+
requiredRegistrationFraction: 42,
|
|
5506
|
+
},
|
|
5431
5507
|
},
|
|
5432
5508
|
securityConfig: {
|
|
5433
5509
|
identityConfig: {
|
|
@@ -5515,6 +5591,9 @@ gapi.load('client', async () => {
|
|
|
5515
5591
|
minNumInstances: 42,
|
|
5516
5592
|
numInstances: 42,
|
|
5517
5593
|
preemptibility: "Test string",
|
|
5594
|
+
startupConfig: {
|
|
5595
|
+
requiredRegistrationFraction: 42,
|
|
5596
|
+
},
|
|
5518
5597
|
},
|
|
5519
5598
|
},
|
|
5520
5599
|
labels: {
|
|
@@ -5902,6 +5981,9 @@ gapi.load('client', async () => {
|
|
|
5902
5981
|
minNumInstances: 42,
|
|
5903
5982
|
numInstances: 42,
|
|
5904
5983
|
preemptibility: "Test string",
|
|
5984
|
+
startupConfig: {
|
|
5985
|
+
requiredRegistrationFraction: 42,
|
|
5986
|
+
},
|
|
5905
5987
|
},
|
|
5906
5988
|
roles: [
|
|
5907
5989
|
"Test string"
|
|
@@ -6068,6 +6150,9 @@ gapi.load('client', async () => {
|
|
|
6068
6150
|
minNumInstances: 42,
|
|
6069
6151
|
numInstances: 42,
|
|
6070
6152
|
preemptibility: "Test string",
|
|
6153
|
+
startupConfig: {
|
|
6154
|
+
requiredRegistrationFraction: 42,
|
|
6155
|
+
},
|
|
6071
6156
|
},
|
|
6072
6157
|
metastoreConfig: {
|
|
6073
6158
|
dataprocMetastoreService: "Test string",
|
|
@@ -6124,6 +6209,9 @@ gapi.load('client', async () => {
|
|
|
6124
6209
|
minNumInstances: 42,
|
|
6125
6210
|
numInstances: 42,
|
|
6126
6211
|
preemptibility: "Test string",
|
|
6212
|
+
startupConfig: {
|
|
6213
|
+
requiredRegistrationFraction: 42,
|
|
6214
|
+
},
|
|
6127
6215
|
},
|
|
6128
6216
|
securityConfig: {
|
|
6129
6217
|
identityConfig: {
|
|
@@ -6211,6 +6299,9 @@ gapi.load('client', async () => {
|
|
|
6211
6299
|
minNumInstances: 42,
|
|
6212
6300
|
numInstances: 42,
|
|
6213
6301
|
preemptibility: "Test string",
|
|
6302
|
+
startupConfig: {
|
|
6303
|
+
requiredRegistrationFraction: 42,
|
|
6304
|
+
},
|
|
6214
6305
|
},
|
|
6215
6306
|
},
|
|
6216
6307
|
labels: {
|
|
@@ -6598,6 +6689,9 @@ gapi.load('client', async () => {
|
|
|
6598
6689
|
minNumInstances: 42,
|
|
6599
6690
|
numInstances: 42,
|
|
6600
6691
|
preemptibility: "Test string",
|
|
6692
|
+
startupConfig: {
|
|
6693
|
+
requiredRegistrationFraction: 42,
|
|
6694
|
+
},
|
|
6601
6695
|
},
|
|
6602
6696
|
roles: [
|
|
6603
6697
|
"Test string"
|
|
@@ -6764,6 +6858,9 @@ gapi.load('client', async () => {
|
|
|
6764
6858
|
minNumInstances: 42,
|
|
6765
6859
|
numInstances: 42,
|
|
6766
6860
|
preemptibility: "Test string",
|
|
6861
|
+
startupConfig: {
|
|
6862
|
+
requiredRegistrationFraction: 42,
|
|
6863
|
+
},
|
|
6767
6864
|
},
|
|
6768
6865
|
metastoreConfig: {
|
|
6769
6866
|
dataprocMetastoreService: "Test string",
|
|
@@ -6820,6 +6917,9 @@ gapi.load('client', async () => {
|
|
|
6820
6917
|
minNumInstances: 42,
|
|
6821
6918
|
numInstances: 42,
|
|
6822
6919
|
preemptibility: "Test string",
|
|
6920
|
+
startupConfig: {
|
|
6921
|
+
requiredRegistrationFraction: 42,
|
|
6922
|
+
},
|
|
6823
6923
|
},
|
|
6824
6924
|
securityConfig: {
|
|
6825
6925
|
identityConfig: {
|
|
@@ -6907,6 +7007,9 @@ gapi.load('client', async () => {
|
|
|
6907
7007
|
minNumInstances: 42,
|
|
6908
7008
|
numInstances: 42,
|
|
6909
7009
|
preemptibility: "Test string",
|
|
7010
|
+
startupConfig: {
|
|
7011
|
+
requiredRegistrationFraction: 42,
|
|
7012
|
+
},
|
|
6910
7013
|
},
|
|
6911
7014
|
},
|
|
6912
7015
|
labels: {
|