MigrationProgressEvent

An event signifying the start of a new step in a migration from Cloud Datastore to Cloud Firestore in Datastore mode .

JSON representation
 { 
 "step" 
 : 
 enum (  MigrationStep 
 
) 
 , 
 // Union field step_details 
can be only one of the following: 
 "prepareStepDetails" 
 : 
 { 
 object (  PrepareStepDetails 
 
) 
 } 
 , 
 "redirectWritesStepDetails" 
 : 
 { 
 object (  RedirectWritesStepDetails 
 
) 
 } 
 // End of list of possible types for union field step_details 
. 
 } 
Fields
step

enum ( MigrationStep )

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.

Union field step_details . Details about this step. step_details can be only one of the following:
prepareStepDetails

object ( PrepareStepDetails )

Details for the PREPARE step.

redirectWritesStepDetails

object ( RedirectWritesStepDetails )

Details for the REDIRECT_WRITES step.

PrepareStepDetails

Details for the PREPARE step.

JSON representation
 { 
 "concurrencyMode" 
 : 
 enum (  ConcurrencyMode 
 
) 
 } 
Fields
concurrencyMode

enum ( ConcurrencyMode )

The concurrency mode this database will use when it reaches the REDIRECT_WRITES step.

RedirectWritesStepDetails

Details for the REDIRECT_WRITES step.

JSON representation
 { 
 "concurrencyMode" 
 : 
 enum (  ConcurrencyMode 
 
) 
 } 
Fields
concurrencyMode

enum ( ConcurrencyMode )

Ths concurrency mode for this database.

Design a Mobile Site
View Site in Mobile | Classic
Share by: