@maxim_mazurok/gapi.client.metastore-v1 0.0.20240222 → 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=v1
12
- // Revision: 20240222
12
+ // Revision: 20240228
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -187,6 +187,16 @@ declare namespace gapi.client {
187
187
  /** A Kerberos principal that exists in the both the keytab the KDC to authenticate as. A typical principal is of the form primary/instance@REALM, but there is no exact format. */
188
188
  principal?: string;
189
189
  }
190
+ interface LatestBackup {
191
+ /** Output only. The ID of an in-progress scheduled backup. Empty if no backup is in progress. */
192
+ backupId?: string;
193
+ /** Output only. The duration of the backup completion. */
194
+ duration?: string;
195
+ /** Output only. The time when the backup was started. */
196
+ startTime?: string;
197
+ /** Output only. The current state of the backup. */
198
+ state?: string;
199
+ }
190
200
  interface ListBackupsResponse {
191
201
  /** The backups of the specified service. */
192
202
  backups?: Backup[];
@@ -359,6 +369,8 @@ declare namespace gapi.client {
359
369
  interface Restore {
360
370
  /** 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}. */
361
371
  backup?: string;
372
+ /** Optional. A Cloud Storage URI specifying where the backup artifacts are stored, in the format gs:///. */
373
+ backupLocation?: string;
362
374
  /** Output only. The restore details containing the revision of the service to be restored to, in format of JSON. */
363
375
  details?: string;
364
376
  /** Output only. The time when the restore ended. */
@@ -373,6 +385,8 @@ declare namespace gapi.client {
373
385
  interface RestoreServiceRequest {
374
386
  /** 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. */
375
387
  backup?: string;
388
+ /** 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. */
389
+ backupLocation?: string;
376
390
  /** 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. */
377
391
  requestId?: string;
378
392
  /** Optional. The type of restore. If unspecified, defaults to METADATA_ONLY. */
@@ -384,6 +398,20 @@ declare namespace gapi.client {
384
398
  /** Scaling factor, increments of 0.1 for values less than 1.0, and increments of 1.0 for values greater than 1.0. */
385
399
  scalingFactor?: number;
386
400
  }
401
+ interface ScheduledBackup {
402
+ /** Optional. A Cloud Storage URI of a folder, in the format gs:///. A sub-folder containing backup files will be stored below it. */
403
+ backupLocation?: string;
404
+ /** 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. */
405
+ cronSchedule?: string;
406
+ /** Optional. Defines whether the scheduled backup is enabled. The default value is false. */
407
+ enabled?: boolean;
408
+ /** Output only. The details of the latest scheduled backup. */
409
+ latestBackup?: LatestBackup;
410
+ /** Output only. The time when the next backups execution is scheduled to start. */
411
+ nextScheduledTime?: string;
412
+ /** 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. */
413
+ timeZone?: string;
414
+ }
387
415
  interface Secret {
388
416
  /** The relative resource name of a Secret Manager secret version, in the following form:projects/{project_number}/secrets/{secret_id}/versions/{version_id}. */
389
417
  cloudSecret?: string;
@@ -421,6 +449,8 @@ declare namespace gapi.client {
421
449
  releaseChannel?: string;
422
450
  /** Scaling configuration of the metastore service. */
423
451
  scalingConfig?: ScalingConfig;
452
+ /** Optional. The configuration of scheduled backup for the metastore service. */
453
+ scheduledBackup?: ScheduledBackup;
424
454
  /** Output only. The current state of the metastore service. */
425
455
  state?: string;
426
456
  /** 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-v1",
3
- "version": "0.0.20240222",
3
+ "version": "0.0.20240228",
4
4
  "description": "TypeScript typings for Dataproc Metastore API v1",
5
5
  "repository": {
6
6
  "type": "git",