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, MySqlHomogeneousConfig? mysqlHomogeneousConfig, String? name, MigrationJobObjectsConfig? objectsConfig, OracleToPostgresConfig? oracleToPostgresConfig, String? originalMigrationName, PerformanceConfig? performanceConfig, String? phase, PostgresHomogeneousConfig? postgresHomogeneousConfig, PostgresToSqlServerConfig? postgresToSqlserverConfig, String? purpose, ReverseSshConnectivity? reverseSshConnectivity, bool? satisfiesPzi, bool? satisfiesPzs, String? source, DatabaseType? sourceDatabase, SqlServerHomogeneousMigrationJobConfig? sqlserverHomogeneousMigrationJobConfig, SqlServerToPostgresConfig? sqlserverToPostgresConfig, 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
mysqlHomogeneousConfig ↔ MySqlHomogeneousConfig?
Configuration for MySQL homogeneous migration.
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
objectsConfig ↔ MigrationJobObjectsConfig?
The objects that need to be migrated.
getter/setter pair
oracleToPostgresConfig ↔ OracleToPostgresConfig?
Configuration for heterogeneous Oracle to Cloud SQL for PostgreSQL and Oracle to AlloyDB for PostgreSQL migrations.
getter/setter pair
originalMigrationName ↔ String?
A failback replication pointer to the resource name (URI) of the original migration job.
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
postgresHomogeneousConfig ↔ PostgresHomogeneousConfig?
Configuration for PostgreSQL homogeneous migration.
getter/setter pair
postgresToSqlserverConfig ↔ PostgresToSqlServerConfig?
Configuration for heterogeneous failback migrations from PostgreSQL to SQL Server.
getter/setter pair
purpose ↔ String?
Migration job mode.
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
satisfiesPzi ↔ bool?
Reserved for future use.
getter/setter pair
satisfiesPzs ↔ bool?
Reserved for future use.
getter/setter pair
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
sqlserverToPostgresConfig ↔ SqlServerToPostgresConfig?
Configuration for heterogeneous SQL Server to Cloud SQL for PostgreSQL migrations.
getter/setter pair
state ↔ String?
The current migration job state. Possible string values are:
getter/setter pair
staticIpConnectivity ↔ Empty?
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