GetMigrationJobResult class

Result data returned by getMigrationJob.

Constructors

GetMigrationJobResult({required String cmekKeyName, required ConversionWorkspaceInfoResponse conversionWorkspace, required String createTime, required String destination, required DatabaseTypeResponse destinationDatabase, required String displayName, required DumpFlagsResponse dumpFlags, required String dumpPath, required String duration, required String endTime, required StatusResponse error, required String filter, required Map<String, String> labels, required String name, required PerformanceConfigResponse performanceConfig, required String phase, required ReverseSshConnectivityResponse reverseSshConnectivity, required String source, required DatabaseTypeResponse sourceDatabase, required String state, required Map<String, dynamic> staticIpConnectivity, required String type, required String updateTime, required VpcPeeringConnectivityResponse vpcPeeringConnectivity})
Creates a new GetMigrationJobResult. cmekKeyName The CMEK (customer-managed encryption key) fully qualified key name used for the migration job. This field supports all migration jobs types except for: * Mysql to Mysql (use the cmek field in the cloudsql connection profile instead). * PostrgeSQL to PostgreSQL (use the cmek field in the cloudsql connection profile instead). * PostgreSQL to AlloyDB (use the kms_key_name field in the alloydb connection profile instead). Each Cloud CMEK key has the following format: projects/PROJECT/locations/REGION/keyRings/RING/cryptoKeys/KEY_NAME conversionWorkspace The conversion workspace used by the migration. createTime 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 The resource name (URI) of the destination connection profile. destinationDatabase The database engine type and provider of the destination. displayName The migration job display name. dumpFlags The initial dump flags. This field and the "dump_path" field are mutually exclusive. dumpPath The path to the dump file in Google Cloud Storage, in the format: (gs://BUCKET_NAME/OBJECT_NAME). This field and the "dump_flags" field are mutually exclusive. duration 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 If the migration job is completed, the time when it was completed. error The error details in case of state FAILED. filter This field can be used to select the entities to migrate as part of the migration job. It uses AIP-160 notation to select a subset of the entities configured on the associated conversion-workspace. This field should not be set on migration-jobs that are not associated with a conversion workspace. labels 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 The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}. performanceConfig Optional. Data dump parallelism settings used by the migration. Currently applicable only for MySQL to Cloud SQL for MySQL migrations only. phase The current migration job phase. reverseSshConnectivity The details needed to communicate to the source over Reverse SSH tunnel connectivity. source The resource name (URI) of the source connection profile. sourceDatabase The database engine type and provider of the source. state The current migration job state. staticIpConnectivity static ip connectivity data (default, no additional details needed). type The migration job type. updateTime 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 The details of the VPC network that the source database is located in.
const
GetMigrationJobResult.fromMap(Map<String, dynamic> map)
factory

Properties

cmekKeyName → String
The CMEK (customer-managed encryption key) fully qualified key name used for the migration job. This field supports all migration jobs types except for: * Mysql to Mysql (use the cmek field in the cloudsql connection profile instead). * PostrgeSQL to PostgreSQL (use the cmek field in the cloudsql connection profile instead). * PostgreSQL to AlloyDB (use the kms_key_name field in the alloydb connection profile instead). Each Cloud CMEK key has the following format: projects/PROJECT/locations/REGION/keyRings/RING/cryptoKeys/KEY_NAME
final
conversionWorkspace → ConversionWorkspaceInfoResponse
The conversion workspace used by the migration.
final
createTime → String
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".
final
destination → String
The resource name (URI) of the destination connection profile.
final
destinationDatabase → DatabaseTypeResponse
The database engine type and provider of the destination.
final
displayName → String
The migration job display name.
final
dumpFlags → DumpFlagsResponse
The initial dump flags. This field and the "dump_path" field are mutually exclusive.
final
dumpPath → String
The path to the dump file in Google Cloud Storage, in the format: (gs://BUCKET_NAME/OBJECT_NAME). This field and the "dump_flags" field are mutually exclusive.
final
duration → String
The duration of the migration job (in seconds). A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
final
endTime → String
If the migration job is completed, the time when it was completed.
final
error → StatusResponse
The error details in case of state FAILED.
final
filter → String
This field can be used to select the entities to migrate as part of the migration job. It uses AIP-160 notation to select a subset of the entities configured on the associated conversion-workspace. This field should not be set on migration-jobs that are not associated with a conversion workspace.
final
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. An object containing a list of "key": "value" pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
final
name → String
The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.
final
performanceConfig → PerformanceConfigResponse
Optional. Data dump parallelism settings used by the migration. Currently applicable only for MySQL to Cloud SQL for MySQL migrations only.
final
phase → String
The current migration job phase.
final
reverseSshConnectivity → ReverseSshConnectivityResponse
The details needed to communicate to the source over Reverse SSH tunnel connectivity.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → String
The resource name (URI) of the source connection profile.
final
sourceDatabase → DatabaseTypeResponse
The database engine type and provider of the source.
final
state → String
The current migration job state.
final
staticIpConnectivity → Map<String, dynamic>
static ip connectivity data (default, no additional details needed).
final
type → String
The migration job type.
final
updateTime → String
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".
final
vpcPeeringConnectivity → VpcPeeringConnectivityResponse
The details of the VPC network that the source database is located in.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited