@maxim_mazurok/gapi.client.dataproc-v1 0.0.20231012 → 0.0.20231028

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 +33 -1
  2. package/package.json +1 -1
  3. 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: 20231012
12
+ // Revision: 20231028
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -531,6 +531,9 @@ declare namespace gapi.client {
531
531
  /** Optional. The Cloud KMS key name to use for PD disk encryption for all instances in the cluster. */
532
532
  gcePdKmsKeyName?:
533
533
  string;
534
+ /** Optional. The Cloud KMS key name to use for encrypting customer core content in spanner and cluster PD disk for all instances in the cluster. */
535
+ kmsKey?:
536
+ string;
534
537
  }
535
538
  interface EndpointConfig {
536
539
  /** Optional. If true, enable http access to specific ports on the cluster from external sources. Defaults to false. */
@@ -823,6 +826,11 @@ declare namespace gapi.client {
823
826
  roles?:
824
827
  string[];
825
828
  }
829
+ interface GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig {
830
+ /** Optional. The Cloud KMS key name to use for encrypting customer core content. */
831
+ kmsKey?:
832
+ string;
833
+ }
826
834
  interface HadoopJob {
827
835
  /** Optional. HCFS URIs of archives to be extracted in the working directory of Hadoop drivers and tasks. Supported file types: .jar, .tar, .tar.gz, .tgz, or .zip. */
828
836
  archiveUris?:
@@ -1345,6 +1353,9 @@ declare namespace gapi.client {
1345
1353
  */
1346
1354
  nextPageToken?:
1347
1355
  string;
1356
+ /** Output only. List of jobs that could not be included in the response. Attempting to get one of these resources may indicate why it was not included in the list response. */
1357
+ unreachable?:
1358
+ string[];
1348
1359
  }
1349
1360
  interface ListOperationsResponse {
1350
1361
  /** The standard List next-page token. */
@@ -1380,6 +1391,12 @@ declare namespace gapi.client {
1380
1391
  /** Output only. WorkflowTemplates list. */
1381
1392
  templates?:
1382
1393
  WorkflowTemplate[];
1394
+ /**
1395
+ * Output only. List of workflow templates that could not be included in the response. Attempting to get one of these resources may indicate why it was not included in the list
1396
+ * response.
1397
+ */
1398
+ unreachable?:
1399
+ string[];
1383
1400
  }
1384
1401
  interface LoggingConfig {
1385
1402
  /** The per-package log levels for the driver. This can include "root" package name to configure rootLogger. Examples: - 'com.google = FATAL' - 'root = INFO' - 'org.apache = DEBUG' */
@@ -2374,6 +2391,12 @@ declare namespace gapi.client {
2374
2391
  QueryList;
2375
2392
  }
2376
2393
  interface UsageMetrics {
2394
+ /** Optional. Accelerator type being used, if any */
2395
+ acceleratorType?:
2396
+ string;
2397
+ /** Optional. Accelerator usage in (milliAccelerator x seconds) (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing)). */
2398
+ milliAcceleratorSeconds?:
2399
+ string;
2377
2400
  /** Optional. DCU (Dataproc Compute Units) usage in (milliDCU x seconds) (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing)). */
2378
2401
  milliDcuSeconds?:
2379
2402
  string;
@@ -2382,6 +2405,12 @@ declare namespace gapi.client {
2382
2405
  string;
2383
2406
  }
2384
2407
  interface UsageSnapshot {
2408
+ /** Optional. Accelerator type being used, if any */
2409
+ acceleratorType?:
2410
+ string;
2411
+ /** Optional. Milli (one-thousandth) accelerator. (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing)) */
2412
+ milliAccelerator?:
2413
+ string;
2385
2414
  /** Optional. Milli (one-thousandth) Dataproc Compute Units (DCUs) (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing)). */
2386
2415
  milliDcu?:
2387
2416
  string;
@@ -2500,6 +2529,9 @@ declare namespace gapi.client {
2500
2529
  */
2501
2530
  dagTimeout?:
2502
2531
  string;
2532
+ /** Optional. Encryption settings for the encrypting customer core content. */
2533
+ encryptionConfig?:
2534
+ GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig;
2503
2535
  id?:
2504
2536
  string;
2505
2537
  /** Required. The Directed Acyclic Graph of Jobs to submit. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.dataproc-v1",
3
- "version": "0.0.20231012",
3
+ "version": "0.0.20231028",
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: 20231012
6
+ // Revision: 20231028
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -226,10 +226,14 @@ gapi.load('client', async () => {
226
226
  },
227
227
  runtimeInfo: {
228
228
  approximateUsage: {
229
+ acceleratorType: "Test string",
230
+ milliAcceleratorSeconds: "Test string",
229
231
  milliDcuSeconds: "Test string",
230
232
  shuffleStorageGbSeconds: "Test string",
231
233
  },
232
234
  currentUsage: {
235
+ acceleratorType: "Test string",
236
+ milliAccelerator: "Test string",
233
237
  milliDcu: "Test string",
234
238
  milliDcuPremium: "Test string",
235
239
  shuffleStorageGb: "Test string",
@@ -384,10 +388,14 @@ gapi.load('client', async () => {
384
388
  },
385
389
  runtimeInfo: {
386
390
  approximateUsage: {
391
+ acceleratorType: "Test string",
392
+ milliAcceleratorSeconds: "Test string",
387
393
  milliDcuSeconds: "Test string",
388
394
  shuffleStorageGbSeconds: "Test string",
389
395
  },
390
396
  currentUsage: {
397
+ acceleratorType: "Test string",
398
+ milliAccelerator: "Test string",
391
399
  milliDcu: "Test string",
392
400
  milliDcuPremium: "Test string",
393
401
  shuffleStorageGb: "Test string",
@@ -557,6 +565,9 @@ gapi.load('client', async () => {
557
565
  }, {
558
566
  createTime: "Test string",
559
567
  dagTimeout: "Test string",
568
+ encryptionConfig: {
569
+ kmsKey: "Test string",
570
+ },
560
571
  id: "Test string",
561
572
  jobs: [
562
573
  {
@@ -912,6 +923,7 @@ gapi.load('client', async () => {
912
923
  },
913
924
  encryptionConfig: {
914
925
  gcePdKmsKeyName: "Test string",
926
+ kmsKey: "Test string",
915
927
  },
916
928
  endpointConfig: {
917
929
  enableHttpPortAccess: true,
@@ -1265,6 +1277,9 @@ gapi.load('client', async () => {
1265
1277
  }, {
1266
1278
  createTime: "Test string",
1267
1279
  dagTimeout: "Test string",
1280
+ encryptionConfig: {
1281
+ kmsKey: "Test string",
1282
+ },
1268
1283
  id: "Test string",
1269
1284
  jobs: [
1270
1285
  {
@@ -1620,6 +1635,7 @@ gapi.load('client', async () => {
1620
1635
  },
1621
1636
  encryptionConfig: {
1622
1637
  gcePdKmsKeyName: "Test string",
1638
+ kmsKey: "Test string",
1623
1639
  },
1624
1640
  endpointConfig: {
1625
1641
  enableHttpPortAccess: true,
@@ -1973,6 +1989,9 @@ gapi.load('client', async () => {
1973
1989
  }, {
1974
1990
  createTime: "Test string",
1975
1991
  dagTimeout: "Test string",
1992
+ encryptionConfig: {
1993
+ kmsKey: "Test string",
1994
+ },
1976
1995
  id: "Test string",
1977
1996
  jobs: [
1978
1997
  {
@@ -2328,6 +2347,7 @@ gapi.load('client', async () => {
2328
2347
  },
2329
2348
  encryptionConfig: {
2330
2349
  gcePdKmsKeyName: "Test string",
2350
+ kmsKey: "Test string",
2331
2351
  },
2332
2352
  endpointConfig: {
2333
2353
  enableHttpPortAccess: true,
@@ -2866,6 +2886,7 @@ gapi.load('client', async () => {
2866
2886
  },
2867
2887
  encryptionConfig: {
2868
2888
  gcePdKmsKeyName: "Test string",
2889
+ kmsKey: "Test string",
2869
2890
  },
2870
2891
  endpointConfig: {
2871
2892
  enableHttpPortAccess: true,
@@ -3421,6 +3442,7 @@ gapi.load('client', async () => {
3421
3442
  },
3422
3443
  encryptionConfig: {
3423
3444
  gcePdKmsKeyName: "Test string",
3445
+ kmsKey: "Test string",
3424
3446
  },
3425
3447
  endpointConfig: {
3426
3448
  enableHttpPortAccess: true,
@@ -4944,6 +4966,9 @@ gapi.load('client', async () => {
4944
4966
  }, {
4945
4967
  createTime: "Test string",
4946
4968
  dagTimeout: "Test string",
4969
+ encryptionConfig: {
4970
+ kmsKey: "Test string",
4971
+ },
4947
4972
  id: "Test string",
4948
4973
  jobs: [
4949
4974
  {
@@ -5299,6 +5324,7 @@ gapi.load('client', async () => {
5299
5324
  },
5300
5325
  encryptionConfig: {
5301
5326
  gcePdKmsKeyName: "Test string",
5327
+ kmsKey: "Test string",
5302
5328
  },
5303
5329
  endpointConfig: {
5304
5330
  enableHttpPortAccess: true,
@@ -5652,6 +5678,9 @@ gapi.load('client', async () => {
5652
5678
  }, {
5653
5679
  createTime: "Test string",
5654
5680
  dagTimeout: "Test string",
5681
+ encryptionConfig: {
5682
+ kmsKey: "Test string",
5683
+ },
5655
5684
  id: "Test string",
5656
5685
  jobs: [
5657
5686
  {
@@ -6007,6 +6036,7 @@ gapi.load('client', async () => {
6007
6036
  },
6008
6037
  encryptionConfig: {
6009
6038
  gcePdKmsKeyName: "Test string",
6039
+ kmsKey: "Test string",
6010
6040
  },
6011
6041
  endpointConfig: {
6012
6042
  enableHttpPortAccess: true,
@@ -6360,6 +6390,9 @@ gapi.load('client', async () => {
6360
6390
  }, {
6361
6391
  createTime: "Test string",
6362
6392
  dagTimeout: "Test string",
6393
+ encryptionConfig: {
6394
+ kmsKey: "Test string",
6395
+ },
6363
6396
  id: "Test string",
6364
6397
  jobs: [
6365
6398
  {
@@ -6715,6 +6748,7 @@ gapi.load('client', async () => {
6715
6748
  },
6716
6749
  encryptionConfig: {
6717
6750
  gcePdKmsKeyName: "Test string",
6751
+ kmsKey: "Test string",
6718
6752
  },
6719
6753
  endpointConfig: {
6720
6754
  enableHttpPortAccess: true,