View Source GoogleApi.DataMigration.V1beta1.Model.MigrationJob (google_api_data_migration v0.15.0)

Represents a Database Migration Service migration job object.

Attributes

  • createTime (type: DateTime.t, default: nil) - Output only. The timestamp when the migration job resource was created. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
  • destination (type: String.t, default: nil) - Required. The resource name (URI) of the destination connection profile.
  • destinationDatabase (type: GoogleApi.DataMigration.V1beta1.Model.DatabaseType.t, default: nil) - The database engine type and provider of the destination.
  • displayName (type: String.t, default: nil) - The migration job display name.
  • dumpPath (type: String.t, default: nil) - The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).
  • duration (type: String.t, default: nil) - Output only. The duration of the migration job (in seconds). A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
  • endTime (type: DateTime.t, default: nil) - Output only. If the migration job is completed, the time when it was completed.
  • error (type: GoogleApi.DataMigration.V1beta1.Model.Status.t, default: nil) - Output only. The error details in case of state FAILED.
  • labels (type: map(), default: nil) - The resource labels for migration job to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of "key": "value" pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
  • name (type: String.t, default: nil) - The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.
  • phase (type: String.t, default: nil) - Output only. The current migration job phase.
  • reverseSshConnectivity (type: GoogleApi.DataMigration.V1beta1.Model.ReverseSshConnectivity.t, default: nil) - The details needed to communicate to the source over Reverse SSH tunnel connectivity.
  • source (type: String.t, default: nil) - Required. The resource name (URI) of the source connection profile.
  • sourceDatabase (type: GoogleApi.DataMigration.V1beta1.Model.DatabaseType.t, default: nil) - The database engine type and provider of the source.
  • state (type: String.t, default: nil) - The current migration job state.
  • staticIpConnectivity (type: GoogleApi.DataMigration.V1beta1.Model.StaticIpConnectivity.t, default: nil) - static ip connectivity data (default, no additional details needed).
  • type (type: String.t, default: nil) - Required. The migration job type.
  • updateTime (type: DateTime.t, default: nil) - Output only. The timestamp when the migration job resource was last updated. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z".
  • vpcPeeringConnectivity (type: GoogleApi.DataMigration.V1beta1.Model.VpcPeeringConnectivity.t, default: nil) - The details of the VPC network that the source database is located in.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.DataMigration.V1beta1.Model.MigrationJob{
  createTime: DateTime.t() | nil,
  destination: String.t() | nil,
  destinationDatabase:
    GoogleApi.DataMigration.V1beta1.Model.DatabaseType.t() | nil,
  displayName: String.t() | nil,
  dumpPath: String.t() | nil,
  duration: String.t() | nil,
  endTime: DateTime.t() | nil,
  error: GoogleApi.DataMigration.V1beta1.Model.Status.t() | nil,
  labels: map() | nil,
  name: String.t() | nil,
  phase: String.t() | nil,
  reverseSshConnectivity:
    GoogleApi.DataMigration.V1beta1.Model.ReverseSshConnectivity.t() | nil,
  source: String.t() | nil,
  sourceDatabase: GoogleApi.DataMigration.V1beta1.Model.DatabaseType.t() | nil,
  state: String.t() | nil,
  staticIpConnectivity:
    GoogleApi.DataMigration.V1beta1.Model.StaticIpConnectivity.t() | nil,
  type: String.t() | nil,
  updateTime: DateTime.t() | nil,
  vpcPeeringConnectivity:
    GoogleApi.DataMigration.V1beta1.Model.VpcPeeringConnectivity.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.