@maxim_mazurok/gapi.client.metastore-v1alpha 0.0.20230215 → 0.0.20230228

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 +9 -1
  2. package/package.json +1 -1
  3. package/tests.ts +13 -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://metastore.googleapis.com/$discovery/rest?version=v1alpha
12
- // Revision: 20230215
12
+ // Revision: 20230228
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -493,6 +493,12 @@ declare namespace gapi.client {
493
493
  /** Optional. The type of restore. If unspecified, defaults to METADATA_ONLY. */
494
494
  restoreType?: string;
495
495
  }
496
+ interface ScalingConfig {
497
+ /** An enum of readable instance sizes, with each instance size mapping to a float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1)) */
498
+ instanceSize?: string;
499
+ /** Scaling factor, increments of 0.1 for values less than 1.0, and increments of 1.0 for values greater than 1.0. */
500
+ scalingFactor?: number;
501
+ }
496
502
  interface Secret {
497
503
  /** The relative resource name of a Secret Manager secret version, in the following form:projects/{project_number}/secrets/{secret_id}/versions/{version_id}. */
498
504
  cloudSecret?: string;
@@ -534,6 +540,8 @@ declare namespace gapi.client {
534
540
  port?: number;
535
541
  /** Immutable. The release channel of the service. If unspecified, defaults to STABLE. */
536
542
  releaseChannel?: string;
543
+ /** Scaling configuration of the metastore service. */
544
+ scalingConfig?: ScalingConfig;
537
545
  /** Output only. The current state of the metastore service. */
538
546
  state?: string;
539
547
  /** Output only. Additional information about the current state of the metastore service, if available. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.metastore-v1alpha",
3
- "version": "0.0.20230215",
3
+ "version": "0.0.20230228",
4
4
  "description": "TypeScript typings for Dataproc Metastore API v1alpha",
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: 20230215
6
+ // Revision: 20230228
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */
@@ -296,6 +296,10 @@ gapi.load('client', async () => {
296
296
  },
297
297
  port: 42,
298
298
  releaseChannel: "Test string",
299
+ scalingConfig: {
300
+ instanceSize: "Test string",
301
+ scalingFactor: 42,
302
+ },
299
303
  state: "Test string",
300
304
  stateMessage: "Test string",
301
305
  telemetryConfig: {
@@ -438,6 +442,10 @@ gapi.load('client', async () => {
438
442
  },
439
443
  port: 42,
440
444
  releaseChannel: "Test string",
445
+ scalingConfig: {
446
+ instanceSize: "Test string",
447
+ scalingFactor: 42,
448
+ },
441
449
  state: "Test string",
442
450
  stateMessage: "Test string",
443
451
  telemetryConfig: {
@@ -618,6 +626,10 @@ gapi.load('client', async () => {
618
626
  },
619
627
  port: 42,
620
628
  releaseChannel: "Test string",
629
+ scalingConfig: {
630
+ instanceSize: "Test string",
631
+ scalingFactor: 42,
632
+ },
621
633
  state: "Test string",
622
634
  stateMessage: "Test string",
623
635
  telemetryConfig: {