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

MigrationJobObject

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

A specific Migration Job Object (e.g. a specifc DB Table)

interface MigrationJobObject {
readonly createTime?: Date;
readonly error?: Status;
name?: string;
readonly phase?:
| "PHASE_UNSPECIFIED"
| "FULL_DUMP"
| "CDC"
| "READY_FOR_PROMOTE"
| "PROMOTE_IN_PROGRESS"
| "PROMOTED"
| "DIFF_BACKUP";
sourceObject?: SourceObjectIdentifier;
state?:
| "STATE_UNSPECIFIED"
| "NOT_STARTED"
| "RUNNING"
| "STOPPING"
| "STOPPED"
| "RESTARTING"
| "FAILED"
| "REMOVING"
| "NOT_SELECTED"
| "COMPLETED";
readonly updateTime?: Date;
}

§Properties

§
readonly createTime?: Date
[src]

Output only. The creation time of the migration job object.

§
readonly error?: Status
[src]

Output only. The error details in case of failure.

§
name?: string
[src]

The object's name.

§
readonly phase?: "PHASE_UNSPECIFIED" | "FULL_DUMP" | "CDC" | "READY_FOR_PROMOTE" | "PROMOTE_IN_PROGRESS" | "PROMOTED" | "DIFF_BACKUP"
[src]

Output only. The phase of the migration job object.

§

The object identifier in the data source.

§
state?: "STATE_UNSPECIFIED" | "NOT_STARTED" | "RUNNING" | "STOPPING" | "STOPPED" | "RESTARTING" | "FAILED" | "REMOVING" | "NOT_SELECTED" | "COMPLETED"
[src]

The state of the migration job object.

§
readonly updateTime?: Date
[src]

Output only. The last update time of the migration job object.