Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Restore

import type { Restore } from "https://googleapis.deno.dev/v1/metastore:v1.ts";

The details of a metadata restore operation.

interface Restore {
readonly backup?: string;
backupLocation?: string;
readonly details?: string;
readonly endTime?: Date;
readonly startTime?: Date;
readonly state?:
| "STATE_UNSPECIFIED"
| "RUNNING"
| "SUCCEEDED"
| "FAILED"
| "CANCELLED";
readonly type?: "RESTORE_TYPE_UNSPECIFIED" | "FULL" | "METADATA_ONLY";
}

§Properties

§
readonly backup?: string
[src]

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}.

§
backupLocation?: string
[src]

Optional. A Cloud Storage URI specifying where the backup artifacts are stored, in the format gs:///.

§
readonly details?: string
[src]

Output only. The restore details containing the revision of the service to be restored to, in format of JSON.

§
readonly endTime?: Date
[src]

Output only. The time when the restore ended.

§
readonly startTime?: Date
[src]

Output only. The time when the restore started.

§
readonly state?: "STATE_UNSPECIFIED" | "RUNNING" | "SUCCEEDED" | "FAILED" | "CANCELLED"
[src]

Output only. The current state of the restore.

§
readonly type?: "RESTORE_TYPE_UNSPECIFIED" | "FULL" | "METADATA_ONLY"
[src]

Output only. The type of restore.