Class: Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1MigrationProgressEvent
- Inherits:
-
Object
- Object
- Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1MigrationProgressEvent
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datastore_v1beta3/classes.rb,
lib/google/apis/datastore_v1beta3/representations.rb,
lib/google/apis/datastore_v1beta3/representations.rb
Overview
An event signifying the start of a new step in a migration from Cloud Datastore to Cloud Firestore in Datastore mode.
Instance Attribute Summary collapse
-
#prepare_step_details ⇒ Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1PrepareStepDetails
Details for the
PREPARE
step. -
#redirect_writes_step_details ⇒ Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1RedirectWritesStepDetails
Details for the
REDIRECT_WRITES
step. -
#step ⇒ String
The step that is starting.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleDatastoreAdminV1MigrationProgressEvent
constructor
A new instance of GoogleDatastoreAdminV1MigrationProgressEvent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleDatastoreAdminV1MigrationProgressEvent
Returns a new instance of GoogleDatastoreAdminV1MigrationProgressEvent.
902 903 904 |
# File 'lib/google/apis/datastore_v1beta3/classes.rb', line 902 def initialize(**args) update!(**args) end |
Instance Attribute Details
#prepare_step_details ⇒ Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1PrepareStepDetails
Details for the PREPARE
step.
Corresponds to the JSON property prepareStepDetails
889 890 891 |
# File 'lib/google/apis/datastore_v1beta3/classes.rb', line 889 def prepare_step_details @prepare_step_details end |
#redirect_writes_step_details ⇒ Google::Apis::DatastoreV1beta3::GoogleDatastoreAdminV1RedirectWritesStepDetails
Details for the REDIRECT_WRITES
step.
Corresponds to the JSON property redirectWritesStepDetails
894 895 896 |
# File 'lib/google/apis/datastore_v1beta3/classes.rb', line 894 def redirect_writes_step_details @redirect_writes_step_details end |
#step ⇒ String
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.
Corresponds to the JSON property step
900 901 902 |
# File 'lib/google/apis/datastore_v1beta3/classes.rb', line 900 def step @step end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
907 908 909 910 911 |
# File 'lib/google/apis/datastore_v1beta3/classes.rb', line 907 def update!(**args) @prepare_step_details = args[:prepare_step_details] if args.key?(:prepare_step_details) @redirect_writes_step_details = args[:redirect_writes_step_details] if args.key?(:redirect_writes_step_details) @step = args[:step] if args.key?(:step) end |