@maxim_mazurok/gapi.client.dataproc-v1 0.0.20220804 → 0.0.20220907

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.
Files changed (3) hide show
  1. package/index.d.ts +58 -11
  2. package/package.json +1 -1
  3. 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: 20220804
13
+ // Revision: 20220907
14
14
 
15
15
  /// <reference types="gapi.client" />
16
16
 
@@ -178,14 +178,15 @@ declare namespace gapi.client {
178
178
  condition?: Expr;
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
- * 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 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
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. Does
182
+ * not include identities that come from external identity providers (IdPs) through identity federation. user:{emailid}: An email address that represents a specific Google account. For
183
+ * example, alice@example.com . serviceAccount:{emailid}: An email address that represents a Google service account. For example, my-other-app@appspot.gserviceaccount.com.
184
+ * serviceAccount:{projectid}.svc.id.goog[{namespace}/{kubernetes-sa}]: An identifier for a Kubernetes service account
185
+ * (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 email
186
+ * 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 that
187
+ * 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 retains
188
+ * the role in the binding. deleted:serviceAccount:{emailid}?uid={uniqueid}: An email address (plus unique identifier) representing a service account that has been recently deleted.
189
+ * 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
190
  * 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
191
  * 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
192
  * 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.
@@ -401,6 +402,11 @@ declare namespace gapi.client {
401
402
  peripheralsConfig?: PeripheralsConfig;
402
403
  }
403
404
  interface ExecutionConfig {
405
+ /**
406
+ * 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
407
+ * days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)).
408
+ */
409
+ idleTtl?: string;
404
410
  /** Optional. The Cloud KMS key to use for encryption. */
405
411
  kmsKey?: string;
406
412
  /** Optional. Tags used for network traffic control. */
@@ -478,6 +484,24 @@ declare namespace gapi.client {
478
484
  */
479
485
  zoneUri?: string;
480
486
  }
487
+ interface GceNodePoolOperationMetadata {
488
+ /** Output only. Cluster UUID associated with the Compute Engine node pool operation. */
489
+ clusterUuid?: string;
490
+ /** Output only. Short description of operation. */
491
+ description?: string;
492
+ /** Output only. Compute Engine node pool ID for the operation. */
493
+ gceNodePoolId?: string;
494
+ /** Output only. Labels associated with the operation */
495
+ labels?: { [P in string]: string };
496
+ /** The operation type. */
497
+ operationType?: string;
498
+ /** Output only. Current operation status. */
499
+ status?: ClusterOperationStatus;
500
+ /** Output only. The previous operation status. */
501
+ statusHistory?: ClusterOperationStatus[];
502
+ /** Output only. Errors encountered during operation execution. */
503
+ warnings?: string[];
504
+ }
481
505
  interface GetIamPolicyRequest {
482
506
  /** OPTIONAL: A GetPolicyOptions object for specifying options to GetIamPolicy. */
483
507
  options?: GetPolicyOptions;
@@ -759,6 +783,8 @@ declare namespace gapi.client {
759
783
  status?: JobStatus;
760
784
  /** Output only. The previous job status. */
761
785
  statusHistory?: JobStatus[];
786
+ /** Optional. Job is a Trino job. */
787
+ trinoJob?: TrinoJob;
762
788
  /** 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. */
763
789
  yarnApplications?: YarnApplication[];
764
790
  }
@@ -1077,6 +1103,8 @@ declare namespace gapi.client {
1077
1103
  * hyphen. Must consist of between 3 and 50 characters.
1078
1104
  */
1079
1105
  stepId?: string;
1106
+ /** Optional. Job is a Trino job. */
1107
+ trinoJob?: TrinoJob;
1080
1108
  }
1081
1109
  interface ParameterValidation {
1082
1110
  /** Validation based on regular expressions. */
@@ -1522,6 +1550,25 @@ declare namespace gapi.client {
1522
1550
  /** A subset of TestPermissionsRequest.permissions that the caller is allowed. */
1523
1551
  permissions?: string[];
1524
1552
  }
1553
+ interface TrinoJob {
1554
+ /** Optional. Trino client tags to attach to this query */
1555
+ clientTags?: string[];
1556
+ /** 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. */
1557
+ continueOnFailure?: boolean;
1558
+ /** Optional. The runtime log config for job execution. */
1559
+ loggingConfig?: LoggingConfig;
1560
+ /** Optional. The format in which query output will be displayed. See the Trino documentation for supported output formats */
1561
+ outputFormat?: string;
1562
+ /**
1563
+ * 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
1564
+ * the Trino CLI
1565
+ */
1566
+ properties?: { [P in string]: string };
1567
+ /** The HCFS URI of the script that contains SQL queries. */
1568
+ queryFileUri?: string;
1569
+ /** A list of queries. */
1570
+ queryList?: QueryList;
1571
+ }
1525
1572
  interface ValueValidation {
1526
1573
  /** Required. List of allowed values for the parameter. */
1527
1574
  values?: string[];
@@ -2060,7 +2107,7 @@ declare namespace gapi.client {
2060
2107
  fields?: string;
2061
2108
  /** 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. */
2062
2109
  key?: string;
2063
- /** Required. The name of the batch resource to delete. */
2110
+ /** Required. The fully qualified name of the batch to retrieve in the format "projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID" */
2064
2111
  name: string;
2065
2112
  /** OAuth 2.0 token for the current user. */
2066
2113
  oauth_token?: string;
@@ -2087,7 +2134,7 @@ declare namespace gapi.client {
2087
2134
  fields?: string;
2088
2135
  /** 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. */
2089
2136
  key?: string;
2090
- /** Required. The name of the batch to retrieve. */
2137
+ /** Required. The fully qualified name of the batch to retrieve in the format "projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID" */
2091
2138
  name: string;
2092
2139
  /** OAuth 2.0 token for the current user. */
2093
2140
  oauth_token?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.dataproc-v1",
3
- "version": "0.0.20220804",
3
+ "version": "0.0.20220907",
4
4
  "description": "TypeScript typings for Cloud Dataproc API v1",
5
5
  "license": "MIT",
6
6
  "author": {
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: 20220804
6
+ // Revision: 20220907
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: {