View Source GoogleApi.Datastore.V1.Model.GoogleDatastoreAdminV1MigrationProgressEvent (google_api_datastore v0.22.0)

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

Attributes

  • prepareStepDetails (type: GoogleApi.Datastore.V1.Model.GoogleDatastoreAdminV1PrepareStepDetails.t, default: nil) - Details for the PREPARE step.
  • redirectWritesStepDetails (type: GoogleApi.Datastore.V1.Model.GoogleDatastoreAdminV1RedirectWritesStepDetails.t, default: nil) - Details for the REDIRECT_WRITES step.
  • step (type: String.t, default: nil) - 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.Datastore.V1.Model.GoogleDatastoreAdminV1MigrationProgressEvent{
    prepareStepDetails:
      GoogleApi.Datastore.V1.Model.GoogleDatastoreAdminV1PrepareStepDetails.t()
      | nil,
    redirectWritesStepDetails:
      GoogleApi.Datastore.V1.Model.GoogleDatastoreAdminV1RedirectWritesStepDetails.t()
      | nil,
    step: String.t() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.