Class MigrationJob (1.0.2)

MigrationJob(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents a Database Migration Service migration job object.

Attributes

NameDescription
name str
The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/instances/{instance}.
create_time google.protobuf.timestamp_pb2.Timestamp
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".
update_time google.protobuf.timestamp_pb2.Timestamp
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".
labels Sequence[google.cloud.clouddms_v1.types.MigrationJob.LabelsEntry]
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" }.
display_name str
The migration job display name.
state google.cloud.clouddms_v1.types.MigrationJob.State
The current migration job state.
phase google.cloud.clouddms_v1.types.MigrationJob.Phase
Output only. The current migration job phase.
type_ google.cloud.clouddms_v1.types.MigrationJob.Type
Required. The migration job type.
dump_path str
The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).
source str
Required. The resource name (URI) of the source connection profile.
destination str
Required. The resource name (URI) of the destination connection profile.
reverse_ssh_connectivity google.cloud.clouddms_v1.types.ReverseSshConnectivity
The details needed to communicate to the source over Reverse SSH tunnel connectivity.
vpc_peering_connectivity google.cloud.clouddms_v1.types.VpcPeeringConnectivity
The details of the VPC network that the source database is located in.
static_ip_connectivity google.cloud.clouddms_v1.types.StaticIpConnectivity
static ip connectivity data (default, no additional details needed).
duration google.protobuf.duration_pb2.Duration
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".
error google.rpc.status_pb2.Status
Output only. The error details in case of state FAILED.
source_database google.cloud.clouddms_v1.types.DatabaseType
The database engine type and provider of the source.
destination_database google.cloud.clouddms_v1.types.DatabaseType
The database engine type and provider of the destination.
end_time google.protobuf.timestamp_pb2.Timestamp
Output only. If the migration job is completed, the time when it was completed.

Classes

LabelsEntry

LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The abstract base class for a message.

Parameters
NameDescription
kwargs dict

Keys and values corresponding to the fields of the message.

mapping Union[dict, .Message]

A dictionary or message to be used to determine the values for this message.

ignore_unknown_fields Optional(bool)

If True, do not raise errors for unknown fields. Only applied if mapping is a mapping type or there are keyword parameters.

Phase

Phase(value)

The current migration job phase.

State

State(value)

The current migration job states.

Type

Type(value)

The type of migration job (one-time or continuous).