GoogleDatastoreAdminV1MigrationProgressEvent
import type { GoogleDatastoreAdminV1MigrationProgressEvent } from "https://googleapis.deno.dev/v1/datastore:v1.ts";
An event signifying the start of a new step in a migration from Cloud Datastore to Cloud Firestore in Datastore mode.
interface GoogleDatastoreAdminV1MigrationProgressEvent {
prepareStepDetails?: GoogleDatastoreAdminV1PrepareStepDetails;
redirectWritesStepDetails?: GoogleDatastoreAdminV1RedirectWritesStepDetails;
step?:
} | "MIGRATION_STEP_UNSPECIFIED"
| "PREPARE"
| "START"
| "APPLY_WRITES_SYNCHRONOUSLY"
| "COPY_AND_VERIFY"
| "REDIRECT_EVENTUALLY_CONSISTENT_READS"
| "REDIRECT_STRONGLY_CONSISTENT_READS"
| "REDIRECT_WRITES";
§Properties
§
prepareStepDetails?: GoogleDatastoreAdminV1PrepareStepDetails
[src]Details for the PREPARE
step.
§
redirectWritesStepDetails?: GoogleDatastoreAdminV1RedirectWritesStepDetails
[src]Details for the REDIRECT_WRITES
step.
§
step?: "MIGRATION_STEP_UNSPECIFIED" | "PREPARE" | "START" | "APPLY_WRITES_SYNCHRONOUSLY" | "COPY_AND_VERIFY" | "REDIRECT_EVENTUALLY_CONSISTENT_READS" | "REDIRECT_STRONGLY_CONSISTENT_READS" | "REDIRECT_WRITES"
[src]The step that is starting. An event with step set to START
indicates
that the migration has been reverted back to the initial pre-migration
state.