Reference documentation and code samples for the Google Cloud Datastore Admin V1 Client class MigrationStep.
Steps in a migration.
Protobuf type google.datastore.admin.v1.MigrationStep
Namespace
Google \ Cloud \ Datastore \ Admin \ V1Methods
static::name
Parameter | |
---|---|
Name | Description |
value |
mixed
|
static::value
Parameter | |
---|---|
Name | Description |
name |
mixed
|
Constants
MIGRATION_STEP_UNSPECIFIED
Value: 0
Unspecified.
Generated from protobuf enum MIGRATION_STEP_UNSPECIFIED = 0;
PREPARE
Value: 6
Pre-migration: the database is prepared for migration.
Generated from protobuf enum PREPARE = 6;
START
Value: 1
Start of migration.
Generated from protobuf enum START = 1;
APPLY_WRITES_SYNCHRONOUSLY
Value: 7
Writes are applied synchronously to at least one replica.
Generated from protobuf enum APPLY_WRITES_SYNCHRONOUSLY = 7;
COPY_AND_VERIFY
Value: 2
Data is copied to Cloud Firestore and then verified to match the data in Cloud Datastore.
Generated from protobuf enum COPY_AND_VERIFY = 2;
REDIRECT_EVENTUALLY_CONSISTENT_READS
Value: 3
Eventually-consistent reads are redirected to Cloud Firestore.
Generated from protobuf enum REDIRECT_EVENTUALLY_CONSISTENT_READS = 3;
REDIRECT_STRONGLY_CONSISTENT_READS
Value: 4
Strongly-consistent reads are redirected to Cloud Firestore.
Generated from protobuf enum REDIRECT_STRONGLY_CONSISTENT_READS = 4;
REDIRECT_WRITES
Value: 5
Writes are redirected to Cloud Firestore.
Generated from protobuf enum REDIRECT_WRITES = 5;