@maxim_mazurok/gapi.client.metastore-v1alpha 0.0.20240325 → 0.0.20240423

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 (2) hide show
  1. package/index.d.ts +19 -3
  2. package/package.json +1 -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: 20240325
12
+ // Revision: 20240423
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -55,6 +55,14 @@ declare namespace gapi.client {
55
55
  /** The log type that this config enables. */
56
56
  logType?: string;
57
57
  }
58
+ interface AutoscalingConfig {
59
+ /** Optional. Whether or not autoscaling is enabled for this service. */
60
+ autoscalingEnabled?: boolean;
61
+ /** Output only. The scaling factor of a service with autoscaling enabled. */
62
+ autoscalingFactor?: number;
63
+ /** Optional. The LimitConfig of the service. */
64
+ limitConfig?: LimitConfig;
65
+ }
58
66
  interface AuxiliaryVersionConfig {
59
67
  /** A mapping of Hive metastore configuration key-value pairs to apply to the auxiliary Hive metastore (configured in hive-site.xml) in addition to the primary version's overrides. If keys are present in both the auxiliary version's overrides and the primary version's overrides, the value from the auxiliary version's overrides takes precedence. */
60
68
  configOverrides?: {[P in string]: string};
@@ -259,6 +267,12 @@ declare namespace gapi.client {
259
267
  /** Output only. The current state of the backup. */
260
268
  state?: string;
261
269
  }
270
+ interface LimitConfig {
271
+ /** Optional. The highest scaling factor that the service should be autoscaled to. */
272
+ maxScalingFactor?: number;
273
+ /** Optional. The lowest scaling factor that the service should be autoscaled to. */
274
+ minScalingFactor?: number;
275
+ }
262
276
  interface ListBackupsResponse {
263
277
  /** The backups of the specified service. */
264
278
  backups?: Backup[];
@@ -376,7 +390,7 @@ declare namespace gapi.client {
376
390
  restores?: Restore[];
377
391
  }
378
392
  interface MigrationExecution {
379
- /** Configuration information specific to migrating from self-managed hive metastore on GCP using Cloud SQL as the backend database to DPMS. */
393
+ /** Configuration information specific to migrating from self-managed hive metastore on Google Cloud using Cloud SQL as the backend database to Dataproc Metastore. */
380
394
  cloudSqlMigrationConfig?: CloudSQLMigrationConfig;
381
395
  /** Output only. The time when the migration execution was started. */
382
396
  createTime?: string;
@@ -491,6 +505,8 @@ declare namespace gapi.client {
491
505
  restoreType?: string;
492
506
  }
493
507
  interface ScalingConfig {
508
+ /** Optional. The autoscaling configuration. */
509
+ autoscalingConfig?: AutoscalingConfig;
494
510
  /** An enum of readable instance sizes, with each instance size mapping to a float value (e.g. InstanceSize.EXTRA_SMALL = scaling_factor(0.1)) */
495
511
  instanceSize?: string;
496
512
  /** Scaling factor, increments of 0.1 for values less than 1.0, and increments of 1.0 for values greater than 1.0. */
@@ -2376,7 +2392,7 @@ declare namespace gapi.client {
2376
2392
  },
2377
2393
  body: Service
2378
2394
  ): Request<Operation>;
2379
- /** Query DPMS metadata. */
2395
+ /** Query Dataproc Metastore metadata. */
2380
2396
  queryMetadata(request: {
2381
2397
  /** V1 error format. */
2382
2398
  '$.xgafv'?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.metastore-v1alpha",
3
- "version": "0.0.20240325",
3
+ "version": "0.0.20240423",
4
4
  "description": "TypeScript typings for Dataproc Metastore API v1alpha",
5
5
  "repository": {
6
6
  "type": "git",