@maxim_mazurok/gapi.client.dataproc-v1 0.0.20220814 → 0.0.20220824
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 +26 -3
- package/package.json +1 -1
- package/tests.ts +190 -1
package/index.d.ts
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
11
11
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
12
12
|
// Generated from: https://dataproc.googleapis.com/$discovery/rest?version=v1
|
|
13
|
-
// Revision:
|
|
13
|
+
// Revision: 20220824
|
|
14
14
|
|
|
15
15
|
/// <reference types="gapi.client" />
|
|
16
16
|
|
|
@@ -402,8 +402,8 @@ declare namespace gapi.client {
|
|
|
402
402
|
}
|
|
403
403
|
interface ExecutionConfig {
|
|
404
404
|
/**
|
|
405
|
-
* Optional. The duration to keep the
|
|
406
|
-
*
|
|
405
|
+
* Optional. The duration to keep the session alive while it's idling. Passing this threshold will cause the session to be terminated. Minimum value is 30 minutes; maximum value is 14
|
|
406
|
+
* days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)).
|
|
407
407
|
*/
|
|
408
408
|
idleTtl?: string;
|
|
409
409
|
/** Optional. The Cloud KMS key to use for encryption. */
|
|
@@ -764,6 +764,8 @@ declare namespace gapi.client {
|
|
|
764
764
|
status?: JobStatus;
|
|
765
765
|
/** Output only. The previous job status. */
|
|
766
766
|
statusHistory?: JobStatus[];
|
|
767
|
+
/** Optional. Job is a Trino job. */
|
|
768
|
+
trinoJob?: TrinoJob;
|
|
767
769
|
/** Output only. The collection of YARN applications spun up by this job.Beta Feature: This report is available for testing purposes only. It may be changed before final release. */
|
|
768
770
|
yarnApplications?: YarnApplication[];
|
|
769
771
|
}
|
|
@@ -1082,6 +1084,8 @@ declare namespace gapi.client {
|
|
|
1082
1084
|
* hyphen. Must consist of between 3 and 50 characters.
|
|
1083
1085
|
*/
|
|
1084
1086
|
stepId?: string;
|
|
1087
|
+
/** Optional. Job is a Trino job. */
|
|
1088
|
+
trinoJob?: TrinoJob;
|
|
1085
1089
|
}
|
|
1086
1090
|
interface ParameterValidation {
|
|
1087
1091
|
/** Validation based on regular expressions. */
|
|
@@ -1527,6 +1531,25 @@ declare namespace gapi.client {
|
|
|
1527
1531
|
/** A subset of TestPermissionsRequest.permissions that the caller is allowed. */
|
|
1528
1532
|
permissions?: string[];
|
|
1529
1533
|
}
|
|
1534
|
+
interface TrinoJob {
|
|
1535
|
+
/** Optional. Trino client tags to attach to this query */
|
|
1536
|
+
clientTags?: string[];
|
|
1537
|
+
/** Optional. Whether to continue executing queries if a query fails. The default value is false. Setting to true can be useful when executing independent parallel queries. */
|
|
1538
|
+
continueOnFailure?: boolean;
|
|
1539
|
+
/** Optional. The runtime log config for job execution. */
|
|
1540
|
+
loggingConfig?: LoggingConfig;
|
|
1541
|
+
/** Optional. The format in which query output will be displayed. See the Trino documentation for supported output formats */
|
|
1542
|
+
outputFormat?: string;
|
|
1543
|
+
/**
|
|
1544
|
+
* Optional. A mapping of property names to values. Used to set Trino session properties (https://trino.io/docs/current/sql/set-session.html) Equivalent to using the --session flag in
|
|
1545
|
+
* the Trino CLI
|
|
1546
|
+
*/
|
|
1547
|
+
properties?: { [P in string]: string };
|
|
1548
|
+
/** The HCFS URI of the script that contains SQL queries. */
|
|
1549
|
+
queryFileUri?: string;
|
|
1550
|
+
/** A list of queries. */
|
|
1551
|
+
queryList?: QueryList;
|
|
1552
|
+
}
|
|
1530
1553
|
interface ValueValidation {
|
|
1531
1554
|
/** Required. List of allowed values for the parameter. */
|
|
1532
1555
|
values?: 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: 20220824
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -483,6 +483,27 @@ gapi.load('client', async () => {
|
|
|
483
483
|
},
|
|
484
484
|
},
|
|
485
485
|
stepId: "Test string",
|
|
486
|
+
trinoJob: {
|
|
487
|
+
clientTags: [
|
|
488
|
+
"Test string"
|
|
489
|
+
],
|
|
490
|
+
continueOnFailure: true,
|
|
491
|
+
loggingConfig: {
|
|
492
|
+
driverLogLevels: {
|
|
493
|
+
A: "Test string"
|
|
494
|
+
},
|
|
495
|
+
},
|
|
496
|
+
outputFormat: "Test string",
|
|
497
|
+
properties: {
|
|
498
|
+
A: "Test string"
|
|
499
|
+
},
|
|
500
|
+
queryFileUri: "Test string",
|
|
501
|
+
queryList: {
|
|
502
|
+
queries: [
|
|
503
|
+
"Test string"
|
|
504
|
+
],
|
|
505
|
+
},
|
|
506
|
+
},
|
|
486
507
|
}
|
|
487
508
|
],
|
|
488
509
|
labels: {
|
|
@@ -1018,6 +1039,27 @@ gapi.load('client', async () => {
|
|
|
1018
1039
|
},
|
|
1019
1040
|
},
|
|
1020
1041
|
stepId: "Test string",
|
|
1042
|
+
trinoJob: {
|
|
1043
|
+
clientTags: [
|
|
1044
|
+
"Test string"
|
|
1045
|
+
],
|
|
1046
|
+
continueOnFailure: true,
|
|
1047
|
+
loggingConfig: {
|
|
1048
|
+
driverLogLevels: {
|
|
1049
|
+
A: "Test string"
|
|
1050
|
+
},
|
|
1051
|
+
},
|
|
1052
|
+
outputFormat: "Test string",
|
|
1053
|
+
properties: {
|
|
1054
|
+
A: "Test string"
|
|
1055
|
+
},
|
|
1056
|
+
queryFileUri: "Test string",
|
|
1057
|
+
queryList: {
|
|
1058
|
+
queries: [
|
|
1059
|
+
"Test string"
|
|
1060
|
+
],
|
|
1061
|
+
},
|
|
1062
|
+
},
|
|
1021
1063
|
}
|
|
1022
1064
|
],
|
|
1023
1065
|
labels: {
|
|
@@ -1553,6 +1595,27 @@ gapi.load('client', async () => {
|
|
|
1553
1595
|
},
|
|
1554
1596
|
},
|
|
1555
1597
|
stepId: "Test string",
|
|
1598
|
+
trinoJob: {
|
|
1599
|
+
clientTags: [
|
|
1600
|
+
"Test string"
|
|
1601
|
+
],
|
|
1602
|
+
continueOnFailure: true,
|
|
1603
|
+
loggingConfig: {
|
|
1604
|
+
driverLogLevels: {
|
|
1605
|
+
A: "Test string"
|
|
1606
|
+
},
|
|
1607
|
+
},
|
|
1608
|
+
outputFormat: "Test string",
|
|
1609
|
+
properties: {
|
|
1610
|
+
A: "Test string"
|
|
1611
|
+
},
|
|
1612
|
+
queryFileUri: "Test string",
|
|
1613
|
+
queryList: {
|
|
1614
|
+
queries: [
|
|
1615
|
+
"Test string"
|
|
1616
|
+
],
|
|
1617
|
+
},
|
|
1618
|
+
},
|
|
1556
1619
|
}
|
|
1557
1620
|
],
|
|
1558
1621
|
labels: {
|
|
@@ -3075,6 +3138,27 @@ gapi.load('client', async () => {
|
|
|
3075
3138
|
substate: "Test string",
|
|
3076
3139
|
}
|
|
3077
3140
|
],
|
|
3141
|
+
trinoJob: {
|
|
3142
|
+
clientTags: [
|
|
3143
|
+
"Test string"
|
|
3144
|
+
],
|
|
3145
|
+
continueOnFailure: true,
|
|
3146
|
+
loggingConfig: {
|
|
3147
|
+
driverLogLevels: {
|
|
3148
|
+
A: "Test string"
|
|
3149
|
+
},
|
|
3150
|
+
},
|
|
3151
|
+
outputFormat: "Test string",
|
|
3152
|
+
properties: {
|
|
3153
|
+
A: "Test string"
|
|
3154
|
+
},
|
|
3155
|
+
queryFileUri: "Test string",
|
|
3156
|
+
queryList: {
|
|
3157
|
+
queries: [
|
|
3158
|
+
"Test string"
|
|
3159
|
+
],
|
|
3160
|
+
},
|
|
3161
|
+
},
|
|
3078
3162
|
yarnApplications: [
|
|
3079
3163
|
{
|
|
3080
3164
|
name: "Test string",
|
|
@@ -3327,6 +3411,27 @@ gapi.load('client', async () => {
|
|
|
3327
3411
|
substate: "Test string",
|
|
3328
3412
|
}
|
|
3329
3413
|
],
|
|
3414
|
+
trinoJob: {
|
|
3415
|
+
clientTags: [
|
|
3416
|
+
"Test string"
|
|
3417
|
+
],
|
|
3418
|
+
continueOnFailure: true,
|
|
3419
|
+
loggingConfig: {
|
|
3420
|
+
driverLogLevels: {
|
|
3421
|
+
A: "Test string"
|
|
3422
|
+
},
|
|
3423
|
+
},
|
|
3424
|
+
outputFormat: "Test string",
|
|
3425
|
+
properties: {
|
|
3426
|
+
A: "Test string"
|
|
3427
|
+
},
|
|
3428
|
+
queryFileUri: "Test string",
|
|
3429
|
+
queryList: {
|
|
3430
|
+
queries: [
|
|
3431
|
+
"Test string"
|
|
3432
|
+
],
|
|
3433
|
+
},
|
|
3434
|
+
},
|
|
3330
3435
|
yarnApplications: [
|
|
3331
3436
|
{
|
|
3332
3437
|
name: "Test string",
|
|
@@ -3558,6 +3663,27 @@ gapi.load('client', async () => {
|
|
|
3558
3663
|
substate: "Test string",
|
|
3559
3664
|
}
|
|
3560
3665
|
],
|
|
3666
|
+
trinoJob: {
|
|
3667
|
+
clientTags: [
|
|
3668
|
+
"Test string"
|
|
3669
|
+
],
|
|
3670
|
+
continueOnFailure: true,
|
|
3671
|
+
loggingConfig: {
|
|
3672
|
+
driverLogLevels: {
|
|
3673
|
+
A: "Test string"
|
|
3674
|
+
},
|
|
3675
|
+
},
|
|
3676
|
+
outputFormat: "Test string",
|
|
3677
|
+
properties: {
|
|
3678
|
+
A: "Test string"
|
|
3679
|
+
},
|
|
3680
|
+
queryFileUri: "Test string",
|
|
3681
|
+
queryList: {
|
|
3682
|
+
queries: [
|
|
3683
|
+
"Test string"
|
|
3684
|
+
],
|
|
3685
|
+
},
|
|
3686
|
+
},
|
|
3561
3687
|
yarnApplications: [
|
|
3562
3688
|
{
|
|
3563
3689
|
name: "Test string",
|
|
@@ -3852,6 +3978,27 @@ gapi.load('client', async () => {
|
|
|
3852
3978
|
},
|
|
3853
3979
|
},
|
|
3854
3980
|
stepId: "Test string",
|
|
3981
|
+
trinoJob: {
|
|
3982
|
+
clientTags: [
|
|
3983
|
+
"Test string"
|
|
3984
|
+
],
|
|
3985
|
+
continueOnFailure: true,
|
|
3986
|
+
loggingConfig: {
|
|
3987
|
+
driverLogLevels: {
|
|
3988
|
+
A: "Test string"
|
|
3989
|
+
},
|
|
3990
|
+
},
|
|
3991
|
+
outputFormat: "Test string",
|
|
3992
|
+
properties: {
|
|
3993
|
+
A: "Test string"
|
|
3994
|
+
},
|
|
3995
|
+
queryFileUri: "Test string",
|
|
3996
|
+
queryList: {
|
|
3997
|
+
queries: [
|
|
3998
|
+
"Test string"
|
|
3999
|
+
],
|
|
4000
|
+
},
|
|
4001
|
+
},
|
|
3855
4002
|
}
|
|
3856
4003
|
],
|
|
3857
4004
|
labels: {
|
|
@@ -4387,6 +4534,27 @@ gapi.load('client', async () => {
|
|
|
4387
4534
|
},
|
|
4388
4535
|
},
|
|
4389
4536
|
stepId: "Test string",
|
|
4537
|
+
trinoJob: {
|
|
4538
|
+
clientTags: [
|
|
4539
|
+
"Test string"
|
|
4540
|
+
],
|
|
4541
|
+
continueOnFailure: true,
|
|
4542
|
+
loggingConfig: {
|
|
4543
|
+
driverLogLevels: {
|
|
4544
|
+
A: "Test string"
|
|
4545
|
+
},
|
|
4546
|
+
},
|
|
4547
|
+
outputFormat: "Test string",
|
|
4548
|
+
properties: {
|
|
4549
|
+
A: "Test string"
|
|
4550
|
+
},
|
|
4551
|
+
queryFileUri: "Test string",
|
|
4552
|
+
queryList: {
|
|
4553
|
+
queries: [
|
|
4554
|
+
"Test string"
|
|
4555
|
+
],
|
|
4556
|
+
},
|
|
4557
|
+
},
|
|
4390
4558
|
}
|
|
4391
4559
|
],
|
|
4392
4560
|
labels: {
|
|
@@ -4922,6 +5090,27 @@ gapi.load('client', async () => {
|
|
|
4922
5090
|
},
|
|
4923
5091
|
},
|
|
4924
5092
|
stepId: "Test string",
|
|
5093
|
+
trinoJob: {
|
|
5094
|
+
clientTags: [
|
|
5095
|
+
"Test string"
|
|
5096
|
+
],
|
|
5097
|
+
continueOnFailure: true,
|
|
5098
|
+
loggingConfig: {
|
|
5099
|
+
driverLogLevels: {
|
|
5100
|
+
A: "Test string"
|
|
5101
|
+
},
|
|
5102
|
+
},
|
|
5103
|
+
outputFormat: "Test string",
|
|
5104
|
+
properties: {
|
|
5105
|
+
A: "Test string"
|
|
5106
|
+
},
|
|
5107
|
+
queryFileUri: "Test string",
|
|
5108
|
+
queryList: {
|
|
5109
|
+
queries: [
|
|
5110
|
+
"Test string"
|
|
5111
|
+
],
|
|
5112
|
+
},
|
|
5113
|
+
},
|
|
4925
5114
|
}
|
|
4926
5115
|
],
|
|
4927
5116
|
labels: {
|