GetMigrationJobResult

data class GetMigrationJobResult(val cmekKeyName: String, val conversionWorkspace: ConversionWorkspaceInfoResponse, val createTime: String, val destination: String, val destinationDatabase: DatabaseTypeResponse, val displayName: String, val dumpFlags: DumpFlagsResponse, val dumpPath: String, val duration: String, val endTime: String, val error: StatusResponse, val filter: String, val labels: Map<String, String>, val name: String, val phase: String, val reverseSshConnectivity: ReverseSshConnectivityResponse, val source: String, val sourceDatabase: DatabaseTypeResponse, val state: String, val staticIpConnectivity: StaticIpConnectivityResponse, val type: String, val updateTime: String, val vpcPeeringConnectivity: VpcPeeringConnectivityResponse)

Constructors

Link copied to clipboard
constructor(cmekKeyName: String, conversionWorkspace: ConversionWorkspaceInfoResponse, createTime: String, destination: String, destinationDatabase: DatabaseTypeResponse, displayName: String, dumpFlags: DumpFlagsResponse, dumpPath: String, duration: String, endTime: String, error: StatusResponse, filter: String, labels: Map<String, String>, name: String, phase: String, reverseSshConnectivity: ReverseSshConnectivityResponse, source: String, sourceDatabase: DatabaseTypeResponse, state: String, staticIpConnectivity: StaticIpConnectivityResponse, type: String, updateTime: String, vpcPeeringConnectivity: VpcPeeringConnectivityResponse)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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

Link copied to clipboard

The conversion workspace used by the migration.

Link copied to clipboard

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".

Link copied to clipboard

The resource name (URI) of the destination connection profile.

Link copied to clipboard

The database engine type and provider of the destination.

Link copied to clipboard

The migration job display name.

Link copied to clipboard

The initial dump flags. This field and the "dump_path" field are mutually exclusive.

Link copied to clipboard

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.

Link copied to clipboard

The duration of the migration job (in seconds). A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".

Link copied to clipboard

If the migration job is completed, the time when it was completed.

Link copied to clipboard

The error details in case of state FAILED.

Link copied to clipboard

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.

Link copied to clipboard

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" }.

Link copied to clipboard

The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.

Link copied to clipboard

The current migration job phase.

Link copied to clipboard

The details needed to communicate to the source over Reverse SSH tunnel connectivity.

Link copied to clipboard

The resource name (URI) of the source connection profile.

Link copied to clipboard

The database engine type and provider of the source.

Link copied to clipboard

The current migration job state.

Link copied to clipboard

static ip connectivity data (default, no additional details needed).

Link copied to clipboard

The migration job type.

Link copied to clipboard

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".

Link copied to clipboard

The details of the VPC network that the source database is located in.