MigrationJob class
Represents a Database Migration Service migration job object.
Constructors
-
MigrationJob({String? cmekKeyName, ConversionWorkspaceInfo? conversionWorkspace, String? createTime, String? destination, DatabaseType? destinationDatabase, String? displayName, DumpFlags? dumpFlags, String? dumpPath, String? dumpType, String? duration, String? endTime, Status? error, String? filter, Map<
String, String> ? labels, String? name, PerformanceConfig? performanceConfig, String? phase, ReverseSshConnectivity? reverseSshConnectivity, String? source, DatabaseType? sourceDatabase, SqlServerHomogeneousMigrationJobConfig? sqlserverHomogeneousMigrationJobConfig, String? state, StaticIpConnectivity? staticIpConnectivity, String? type, String? updateTime, VpcPeeringConnectivity? vpcPeeringConnectivity}) - MigrationJob.fromJson(Map json_)
Properties
- cmekKeyName ↔ String?
-
The CMEK (customer-managed encryption key) fully qualified key name used
for the migration job.
getter/setter pair
- conversionWorkspace ↔ ConversionWorkspaceInfo?
-
The conversion workspace used by the migration.
getter/setter pair
- createTime ↔ String?
-
The timestamp when the migration job resource was created.
getter/setter pair
- destination ↔ String?
-
The resource name (URI) of the destination connection profile.
getter/setter pair
- destinationDatabase ↔ DatabaseType?
-
The database engine type and provider of the destination.
getter/setter pair
- displayName ↔ String?
-
The migration job display name.
getter/setter pair
- dumpFlags ↔ DumpFlags?
-
The initial dump flags.
getter/setter pair
- dumpPath ↔ String?
-
The path to the dump file in Google Cloud Storage, in the format:
(gs://[BUCKET_NAME]/[OBJECT_NAME]).
getter/setter pair
- dumpType ↔ String?
-
The type of the data dump.
getter/setter pair
- duration ↔ String?
-
The duration of the migration job (in seconds).
getter/setter pair
- endTime ↔ String?
-
If the migration job is completed, the time when it was completed.
getter/setter pair
- error ↔ Status?
-
The error details in case of state FAILED.
getter/setter pair
- filter ↔ String?
-
This field can be used to select the entities to migrate as part of the
migration job.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
labels
↔ Map<
String, String> ? -
The resource labels for migration job to use to annotate any related
underlying resources such as Compute Engine VMs.
getter/setter pair
- name ↔ String?
-
The name (URI) of this migration job resource, in the form of:
projects/{project}/locations/{location}/migrationJobs/{migrationJob}.
getter/setter pair
- performanceConfig ↔ PerformanceConfig?
-
Data dump parallelism settings used by the migration.
getter/setter pair
- phase ↔ String?
-
The current migration job phase.
getter/setter pair
- reverseSshConnectivity ↔ ReverseSshConnectivity?
-
The details needed to communicate to the source over Reverse SSH tunnel
connectivity.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source ↔ String?
-
The resource name (URI) of the source connection profile.
getter/setter pair
- sourceDatabase ↔ DatabaseType?
-
The database engine type and provider of the source.
getter/setter pair
- sqlserverHomogeneousMigrationJobConfig ↔ SqlServerHomogeneousMigrationJobConfig?
-
Configuration for SQL Server homogeneous migration.
getter/setter pair
- state ↔ String?
-
The current migration job state.
Possible string values are:
getter/setter pair
- staticIpConnectivity ↔ StaticIpConnectivity?
-
static ip connectivity data (default, no additional details needed).
getter/setter pair
- type ↔ String?
-
The migration job type.
getter/setter pair
- updateTime ↔ String?
-
The timestamp when the migration job resource was last updated.
getter/setter pair
- vpcPeeringConnectivity ↔ VpcPeeringConnectivity?
-
The details of the VPC network that the source database is located in.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited