@maxim_mazurok/gapi.client.dataproc-v1 0.0.20221017 → 0.0.20221025

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 -19
  2. package/package.json +1 -1
  3. package/tests.ts +5 -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: 20221017
12
+ // Revision: 20221025
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -483,24 +483,6 @@ declare namespace gapi.client {
483
483
  */
484
484
  zoneUri?: string;
485
485
  }
486
- interface GceNodePoolOperationMetadata {
487
- /** Output only. Cluster UUID associated with the Compute Engine node pool operation. */
488
- clusterUuid?: string;
489
- /** Output only. Short description of operation. */
490
- description?: string;
491
- /** Output only. Compute Engine node pool ID for the operation. */
492
- gceNodePoolId?: string;
493
- /** Output only. Labels associated with the operation */
494
- labels?: { [P in string]: string };
495
- /** The operation type. */
496
- operationType?: string;
497
- /** Output only. Current operation status. */
498
- status?: ClusterOperationStatus;
499
- /** Output only. The previous operation status. */
500
- statusHistory?: ClusterOperationStatus[];
501
- /** Output only. Errors encountered during operation execution. */
502
- warnings?: string[];
503
- }
504
486
  interface GetIamPolicyRequest {
505
487
  /** OPTIONAL: A GetPolicyOptions object for specifying options to GetIamPolicy. */
506
488
  options?: GetPolicyOptions;
@@ -1031,6 +1013,24 @@ declare namespace gapi.client {
1031
1013
  */
1032
1014
  nodeGroupUri?: string;
1033
1015
  }
1016
+ interface NodeGroupOperationMetadata {
1017
+ /** Output only. Cluster UUID associated with the node group operation. */
1018
+ clusterUuid?: string;
1019
+ /** Output only. Short description of operation. */
1020
+ description?: string;
1021
+ /** Output only. Labels associated with the operation. */
1022
+ labels?: { [P in string]: string };
1023
+ /** Output only. Node group ID for the operation. */
1024
+ nodeGroupId?: string;
1025
+ /** The operation type. */
1026
+ operationType?: string;
1027
+ /** Output only. Current operation status. */
1028
+ status?: ClusterOperationStatus;
1029
+ /** Output only. The previous operation status. */
1030
+ statusHistory?: ClusterOperationStatus[];
1031
+ /** Output only. Errors encountered during operation execution. */
1032
+ warnings?: string[];
1033
+ }
1034
1034
  interface NodeInitializationAction {
1035
1035
  /** Required. Cloud Storage URI of executable file. */
1036
1036
  executableFile?: string;
@@ -1275,6 +1275,8 @@ declare namespace gapi.client {
1275
1275
  version?: string;
1276
1276
  }
1277
1277
  interface RuntimeInfo {
1278
+ /** Output only. Approximate workload resource usage calculated after workload finishes. */
1279
+ approximateUsage?: UsageMetrics;
1278
1280
  /** Output only. A URI pointing to the location of the diagnostics tarball. */
1279
1281
  diagnosticOutputUri?: string;
1280
1282
  /** Output only. Map of remote access endpoints (such as web interfaces and APIs) to their URIs. */
@@ -1573,6 +1575,12 @@ declare namespace gapi.client {
1573
1575
  /** A list of queries. */
1574
1576
  queryList?: QueryList;
1575
1577
  }
1578
+ interface UsageMetrics {
1579
+ /** Optional. DCU usage in milliDCU*seconds. */
1580
+ milliDcuSeconds?: string;
1581
+ /** Optional. Shuffle storage usage in GB*Seconds */
1582
+ shuffleStorageGbSeconds?: string;
1583
+ }
1576
1584
  interface ValueValidation {
1577
1585
  /** Required. List of allowed values for the parameter. */
1578
1586
  values?: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.dataproc-v1",
3
- "version": "0.0.20221017",
3
+ "version": "0.0.20221025",
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: 20221017
6
+ // Revision: 20221025
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -216,6 +216,10 @@ gapi.load('client', async () => {
216
216
  version: "Test string",
217
217
  },
218
218
  runtimeInfo: {
219
+ approximateUsage: {
220
+ milliDcuSeconds: "Test string",
221
+ shuffleStorageGbSeconds: "Test string",
222
+ },
219
223
  diagnosticOutputUri: "Test string",
220
224
  endpoints: {
221
225
  A: "Test string"