@maxim_mazurok/gapi.client.dataproc-v1 0.0.20231002 → 0.0.20231019

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 +27 -1
  2. package/package.json +1 -1
  3. package/tests.ts +27 -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: 20231002
12
+ // Revision: 20231019
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -823,6 +823,11 @@ declare namespace gapi.client {
823
823
  roles?:
824
824
  string[];
825
825
  }
826
+ interface GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig {
827
+ /** Optional. The Cloud KMS key name to use for encrypting customer core content. */
828
+ kmsKey?:
829
+ string;
830
+ }
826
831
  interface HadoopJob {
827
832
  /** 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
833
  archiveUris?:
@@ -1380,6 +1385,12 @@ declare namespace gapi.client {
1380
1385
  /** Output only. WorkflowTemplates list. */
1381
1386
  templates?:
1382
1387
  WorkflowTemplate[];
1388
+ /**
1389
+ * 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
1390
+ * response.
1391
+ */
1392
+ unreachable?:
1393
+ string[];
1383
1394
  }
1384
1395
  interface LoggingConfig {
1385
1396
  /** 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 +2385,12 @@ declare namespace gapi.client {
2374
2385
  QueryList;
2375
2386
  }
2376
2387
  interface UsageMetrics {
2388
+ /** Optional. Accelerator type being used, if any */
2389
+ acceleratorType?:
2390
+ string;
2391
+ /** Optional. Accelerator usage in (milliAccelerator x seconds) (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing)). */
2392
+ milliAcceleratorSeconds?:
2393
+ string;
2377
2394
  /** Optional. DCU (Dataproc Compute Units) usage in (milliDCU x seconds) (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing)). */
2378
2395
  milliDcuSeconds?:
2379
2396
  string;
@@ -2382,6 +2399,12 @@ declare namespace gapi.client {
2382
2399
  string;
2383
2400
  }
2384
2401
  interface UsageSnapshot {
2402
+ /** Optional. Accelerator type being used, if any */
2403
+ acceleratorType?:
2404
+ string;
2405
+ /** Optional. Milli (one-thousandth) accelerator. (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing)) */
2406
+ milliAccelerator?:
2407
+ string;
2385
2408
  /** Optional. Milli (one-thousandth) Dataproc Compute Units (DCUs) (see Dataproc Serverless pricing (https://cloud.google.com/dataproc-serverless/pricing)). */
2386
2409
  milliDcu?:
2387
2410
  string;
@@ -2500,6 +2523,9 @@ declare namespace gapi.client {
2500
2523
  */
2501
2524
  dagTimeout?:
2502
2525
  string;
2526
+ /** Optional. Encryption settings for the encrypting customer core content. */
2527
+ encryptionConfig?:
2528
+ GoogleCloudDataprocV1WorkflowTemplateEncryptionConfig;
2503
2529
  id?:
2504
2530
  string;
2505
2531
  /** 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.20231002",
3
+ "version": "0.0.20231019",
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: 20231002
6
+ // Revision: 20231019
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
  {
@@ -1265,6 +1276,9 @@ gapi.load('client', async () => {
1265
1276
  }, {
1266
1277
  createTime: "Test string",
1267
1278
  dagTimeout: "Test string",
1279
+ encryptionConfig: {
1280
+ kmsKey: "Test string",
1281
+ },
1268
1282
  id: "Test string",
1269
1283
  jobs: [
1270
1284
  {
@@ -1973,6 +1987,9 @@ gapi.load('client', async () => {
1973
1987
  }, {
1974
1988
  createTime: "Test string",
1975
1989
  dagTimeout: "Test string",
1990
+ encryptionConfig: {
1991
+ kmsKey: "Test string",
1992
+ },
1976
1993
  id: "Test string",
1977
1994
  jobs: [
1978
1995
  {
@@ -4944,6 +4961,9 @@ gapi.load('client', async () => {
4944
4961
  }, {
4945
4962
  createTime: "Test string",
4946
4963
  dagTimeout: "Test string",
4964
+ encryptionConfig: {
4965
+ kmsKey: "Test string",
4966
+ },
4947
4967
  id: "Test string",
4948
4968
  jobs: [
4949
4969
  {
@@ -5652,6 +5672,9 @@ gapi.load('client', async () => {
5652
5672
  }, {
5653
5673
  createTime: "Test string",
5654
5674
  dagTimeout: "Test string",
5675
+ encryptionConfig: {
5676
+ kmsKey: "Test string",
5677
+ },
5655
5678
  id: "Test string",
5656
5679
  jobs: [
5657
5680
  {
@@ -6360,6 +6383,9 @@ gapi.load('client', async () => {
6360
6383
  }, {
6361
6384
  createTime: "Test string",
6362
6385
  dagTimeout: "Test string",
6386
+ encryptionConfig: {
6387
+ kmsKey: "Test string",
6388
+ },
6363
6389
  id: "Test string",
6364
6390
  jobs: [
6365
6391
  {