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

BackupRunInfo

import type { BackupRunInfo } from "https://googleapis.deno.dev/v1/databasecenter:v1beta.ts";

Metadata about latest backup run state for a database resource.

interface BackupRunInfo {
endTime?: Date;
errorMessage?: string;
operationErrorType?:
| "OPERATION_ERROR_TYPE_UNSPECIFIED"
| "KMS_KEY_ERROR"
| "DATABASE_ERROR"
| "STOCKOUT_ERROR"
| "CANCELLATION_ERROR"
| "SQLSERVER_ERROR"
| "INTERNAL_ERROR";
startTime?: Date;
readonly state?: "STATE_UNSPECIFIED" | "SUCCEEDED" | "FAILED";
subResource?: SubResource;
}

§Properties

§
endTime?: Date
[src]

The time the backup operation completed.

§
errorMessage?: string
[src]

Additional information about the error encountered.

§
operationErrorType?: "OPERATION_ERROR_TYPE_UNSPECIFIED" | "KMS_KEY_ERROR" | "DATABASE_ERROR" | "STOCKOUT_ERROR" | "CANCELLATION_ERROR" | "SQLSERVER_ERROR" | "INTERNAL_ERROR"
[src]

Optional. OperationErrorType to expose specific error when backup operation of database resource failed, that is state is FAILED.

§
startTime?: Date
[src]

The time the backup operation started.

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

Output only. The state of this run.

§
subResource?: SubResource
[src]

Optional. Sub resource details associated with the backup run.