@maxim_mazurok/gapi.client.dataproc-v1 0.0.20220726 → 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 +39 -10
- package/package.json +1 -1
- package/tests.ts +191 -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
|
|
|
@@ -179,15 +179,16 @@ declare namespace gapi.client {
|
|
|
179
179
|
/**
|
|
180
180
|
* Specifies the principals requesting access for a Google Cloud resource. members can have the following values: allUsers: A special identifier that represents anyone who is on the
|
|
181
181
|
* internet; with or without a Google account. allAuthenticatedUsers: A special identifier that represents anyone who is authenticated with a Google account or a service account.
|
|
182
|
-
* user:{emailid}: An email address that represents a specific Google account. For example, alice@example.com . serviceAccount:{emailid}: An email address that represents a
|
|
183
|
-
* account. For example, my-other-app@appspot.gserviceaccount.com.
|
|
184
|
-
*
|
|
185
|
-
*
|
|
186
|
-
* deleted
|
|
187
|
-
*
|
|
188
|
-
*
|
|
189
|
-
*
|
|
190
|
-
*
|
|
182
|
+
* user:{emailid}: An email address that represents a specific Google account. For example, alice@example.com . serviceAccount:{emailid}: An email address that represents a Google
|
|
183
|
+
* service account. For example, my-other-app@appspot.gserviceaccount.com. serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]: An identifier for a Kubernetes service
|
|
184
|
+
* account (https://cloud.google.com/kubernetes-engine/docs/how-to/kubernetes-service-accounts). For example, my-project.svc.id.goog[my-namespace/my-kubernetes-sa]. group:{emailid}: An
|
|
185
|
+
* email address that represents a Google group. For example, admins@example.com. deleted:user:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a user
|
|
186
|
+
* that has been recently deleted. For example, alice@example.com?uid=123456789012345678901. If the user is recovered, this value reverts to user:{emailid} and the recovered user
|
|
187
|
+
* retains the role in the binding. deleted:serviceAccount:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a service account that has been recently
|
|
188
|
+
* deleted. For example, my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901. If the service account is undeleted, this value reverts to serviceAccount:{emailid} and the
|
|
189
|
+
* undeleted service account retains the role in the binding. deleted:group:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a Google group that has
|
|
190
|
+
* been recently deleted. For example, admins@example.com?uid=123456789012345678901. If the group is recovered, this value reverts to group:{emailid} and the recovered group retains
|
|
191
|
+
* the role in the binding. domain:{domain}: The G Suite domain (primary) that represents all the users of that domain. For example, google.com or example.com.
|
|
191
192
|
*/
|
|
192
193
|
members?: string[];
|
|
193
194
|
/** Role that is assigned to the list of members, or principals. For example, roles/viewer, roles/editor, or roles/owner. */
|
|
@@ -400,6 +401,11 @@ declare namespace gapi.client {
|
|
|
400
401
|
peripheralsConfig?: PeripheralsConfig;
|
|
401
402
|
}
|
|
402
403
|
interface ExecutionConfig {
|
|
404
|
+
/**
|
|
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
|
+
*/
|
|
408
|
+
idleTtl?: string;
|
|
403
409
|
/** Optional. The Cloud KMS key to use for encryption. */
|
|
404
410
|
kmsKey?: string;
|
|
405
411
|
/** Optional. Tags used for network traffic control. */
|
|
@@ -758,6 +764,8 @@ declare namespace gapi.client {
|
|
|
758
764
|
status?: JobStatus;
|
|
759
765
|
/** Output only. The previous job status. */
|
|
760
766
|
statusHistory?: JobStatus[];
|
|
767
|
+
/** Optional. Job is a Trino job. */
|
|
768
|
+
trinoJob?: TrinoJob;
|
|
761
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. */
|
|
762
770
|
yarnApplications?: YarnApplication[];
|
|
763
771
|
}
|
|
@@ -1076,6 +1084,8 @@ declare namespace gapi.client {
|
|
|
1076
1084
|
* hyphen. Must consist of between 3 and 50 characters.
|
|
1077
1085
|
*/
|
|
1078
1086
|
stepId?: string;
|
|
1087
|
+
/** Optional. Job is a Trino job. */
|
|
1088
|
+
trinoJob?: TrinoJob;
|
|
1079
1089
|
}
|
|
1080
1090
|
interface ParameterValidation {
|
|
1081
1091
|
/** Validation based on regular expressions. */
|
|
@@ -1521,6 +1531,25 @@ declare namespace gapi.client {
|
|
|
1521
1531
|
/** A subset of TestPermissionsRequest.permissions that the caller is allowed. */
|
|
1522
1532
|
permissions?: string[];
|
|
1523
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
|
+
}
|
|
1524
1553
|
interface ValueValidation {
|
|
1525
1554
|
/** Required. List of allowed values for the parameter. */
|
|
1526
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 */
|
|
@@ -169,6 +169,7 @@ gapi.load('client', async () => {
|
|
|
169
169
|
creator: "Test string",
|
|
170
170
|
environmentConfig: {
|
|
171
171
|
executionConfig: {
|
|
172
|
+
idleTtl: "Test string",
|
|
172
173
|
kmsKey: "Test string",
|
|
173
174
|
networkTags: [
|
|
174
175
|
"Test string"
|
|
@@ -482,6 +483,27 @@ gapi.load('client', async () => {
|
|
|
482
483
|
},
|
|
483
484
|
},
|
|
484
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
|
+
},
|
|
485
507
|
}
|
|
486
508
|
],
|
|
487
509
|
labels: {
|
|
@@ -1017,6 +1039,27 @@ gapi.load('client', async () => {
|
|
|
1017
1039
|
},
|
|
1018
1040
|
},
|
|
1019
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
|
+
},
|
|
1020
1063
|
}
|
|
1021
1064
|
],
|
|
1022
1065
|
labels: {
|
|
@@ -1552,6 +1595,27 @@ gapi.load('client', async () => {
|
|
|
1552
1595
|
},
|
|
1553
1596
|
},
|
|
1554
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
|
+
},
|
|
1555
1619
|
}
|
|
1556
1620
|
],
|
|
1557
1621
|
labels: {
|
|
@@ -3074,6 +3138,27 @@ gapi.load('client', async () => {
|
|
|
3074
3138
|
substate: "Test string",
|
|
3075
3139
|
}
|
|
3076
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
|
+
},
|
|
3077
3162
|
yarnApplications: [
|
|
3078
3163
|
{
|
|
3079
3164
|
name: "Test string",
|
|
@@ -3326,6 +3411,27 @@ gapi.load('client', async () => {
|
|
|
3326
3411
|
substate: "Test string",
|
|
3327
3412
|
}
|
|
3328
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
|
+
},
|
|
3329
3435
|
yarnApplications: [
|
|
3330
3436
|
{
|
|
3331
3437
|
name: "Test string",
|
|
@@ -3557,6 +3663,27 @@ gapi.load('client', async () => {
|
|
|
3557
3663
|
substate: "Test string",
|
|
3558
3664
|
}
|
|
3559
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
|
+
},
|
|
3560
3687
|
yarnApplications: [
|
|
3561
3688
|
{
|
|
3562
3689
|
name: "Test string",
|
|
@@ -3851,6 +3978,27 @@ gapi.load('client', async () => {
|
|
|
3851
3978
|
},
|
|
3852
3979
|
},
|
|
3853
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
|
+
},
|
|
3854
4002
|
}
|
|
3855
4003
|
],
|
|
3856
4004
|
labels: {
|
|
@@ -4386,6 +4534,27 @@ gapi.load('client', async () => {
|
|
|
4386
4534
|
},
|
|
4387
4535
|
},
|
|
4388
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
|
+
},
|
|
4389
4558
|
}
|
|
4390
4559
|
],
|
|
4391
4560
|
labels: {
|
|
@@ -4921,6 +5090,27 @@ gapi.load('client', async () => {
|
|
|
4921
5090
|
},
|
|
4922
5091
|
},
|
|
4923
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
|
+
},
|
|
4924
5114
|
}
|
|
4925
5115
|
],
|
|
4926
5116
|
labels: {
|