@maxim_mazurok/gapi.client.metastore-v1alpha 0.0.20240218 → 0.0.20240228

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 +31 -1
  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: 20240218
12
+ // Revision: 20240228
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -199,6 +199,16 @@ declare namespace gapi.client {
199
199
  /** The Lake resource name. Example: projects/{project_number}/locations/{location_id}/lakes/{lake_id} */
200
200
  name?: string;
201
201
  }
202
+ interface LatestBackup {
203
+ /** Output only. The ID of an in-progress scheduled backup. Empty if no backup is in progress. */
204
+ backupId?: string;
205
+ /** Output only. The duration of the backup completion. */
206
+ duration?: string;
207
+ /** Output only. The time when the backup was started. */
208
+ startTime?: string;
209
+ /** Output only. The current state of the backup. */
210
+ state?: string;
211
+ }
202
212
  interface ListBackupsResponse {
203
213
  /** The backups of the specified service. */
204
214
  backups?: Backup[];
@@ -383,6 +393,8 @@ declare namespace gapi.client {
383
393
  interface Restore {
384
394
  /** Output only. The relative resource name of the metastore service backup to restore from, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}. */
385
395
  backup?: string;
396
+ /** Optional. A Cloud Storage URI specifying where the backup artifacts are stored, in the format gs:///. */
397
+ backupLocation?: string;
386
398
  /** Output only. The restore details containing the revision of the service to be restored to, in format of JSON. */
387
399
  details?: string;
388
400
  /** Output only. The time when the restore ended. */
@@ -397,6 +409,8 @@ declare namespace gapi.client {
397
409
  interface RestoreServiceRequest {
398
410
  /** Optional. The relative resource name of the metastore service backup to restore from, in the following form:projects/{project_id}/locations/{location_id}/services/{service_id}/backups/{backup_id}. Mutually exclusive with backup_location, and exactly one of the two must be set. */
399
411
  backup?: string;
412
+ /** Optional. A Cloud Storage URI specifying the location of the backup artifacts, namely - backup avro files under "avro/", backup_metastore.json and service.json, in the following form:gs://. Mutually exclusive with backup, and exactly one of the two must be set. */
413
+ backupLocation?: string;
400
414
  /** Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format). A zero UUID (00000000-0000-0000-0000-000000000000) is not supported. */
401
415
  requestId?: string;
402
416
  /** Optional. The type of restore. If unspecified, defaults to METADATA_ONLY. */
@@ -408,6 +422,20 @@ declare namespace gapi.client {
408
422
  /** Scaling factor, increments of 0.1 for values less than 1.0, and increments of 1.0 for values greater than 1.0. */
409
423
  scalingFactor?: number;
410
424
  }
425
+ interface ScheduledBackup {
426
+ /** Optional. A Cloud Storage URI of a folder, in the format gs:///. A sub-folder containing backup files will be stored below it. */
427
+ backupLocation?: string;
428
+ /** Optional. The scheduled interval in Cron format, see https://en.wikipedia.org/wiki/Cron The default is empty: scheduled backup is not enabled. Must be specified to enable scheduled backups. */
429
+ cronSchedule?: string;
430
+ /** Optional. Defines whether the scheduled backup is enabled. The default value is false. */
431
+ enabled?: boolean;
432
+ /** Output only. The details of the latest scheduled backup. */
433
+ latestBackup?: LatestBackup;
434
+ /** Output only. The time when the next backups execution is scheduled to start. */
435
+ nextScheduledTime?: string;
436
+ /** Optional. Specifies the time zone to be used when interpreting cron_schedule. Must be a time zone name from the time zone database (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones), e.g. America/Los_Angeles or Africa/Abidjan. If left unspecified, the default is UTC. */
437
+ timeZone?: string;
438
+ }
411
439
  interface Secret {
412
440
  /** The relative resource name of a Secret Manager secret version, in the following form:projects/{project_number}/secrets/{secret_id}/versions/{version_id}. */
413
441
  cloudSecret?: string;
@@ -445,6 +473,8 @@ declare namespace gapi.client {
445
473
  releaseChannel?: string;
446
474
  /** Scaling configuration of the metastore service. */
447
475
  scalingConfig?: ScalingConfig;
476
+ /** Optional. The configuration of scheduled backup for the metastore service. */
477
+ scheduledBackup?: ScheduledBackup;
448
478
  /** Output only. The current state of the metastore service. */
449
479
  state?: string;
450
480
  /** 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.20240218",
3
+ "version": "0.0.20240228",
4
4
  "description": "TypeScript typings for Dataproc Metastore API v1alpha",
5
5
  "repository": {
6
6
  "type": "git",