Reference documentation and code samples for the Cloud Database Migration Service V1 API class Google::Cloud::CloudDMS::V1::MigrationJob.
Represents a Database Migration Service migration job object.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#cmek_key_name
def cmek_key_name() -> ::String
-
(::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]
#cmek_key_name=
def cmek_key_name=(value) -> ::String
-
value (::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]
-
(::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]
#conversion_workspace
def conversion_workspace() -> ::Google::Cloud::CloudDMS::V1::ConversionWorkspaceInfo
- (::Google::Cloud::CloudDMS::V1::ConversionWorkspaceInfo) — The conversion workspace used by the migration.
#conversion_workspace=
def conversion_workspace=(value) -> ::Google::Cloud::CloudDMS::V1::ConversionWorkspaceInfo
- value (::Google::Cloud::CloudDMS::V1::ConversionWorkspaceInfo) — The conversion workspace used by the migration.
- (::Google::Cloud::CloudDMS::V1::ConversionWorkspaceInfo) — The conversion workspace used by the migration.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::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".
#destination
def destination() -> ::String
- (::String) — Required. The resource name (URI) of the destination connection profile.
#destination=
def destination=(value) -> ::String
- value (::String) — Required. The resource name (URI) of the destination connection profile.
- (::String) — Required. The resource name (URI) of the destination connection profile.
#destination_database
def destination_database() -> ::Google::Cloud::CloudDMS::V1::DatabaseType
- (::Google::Cloud::CloudDMS::V1::DatabaseType) — The database engine type and provider of the destination.
#destination_database=
def destination_database=(value) -> ::Google::Cloud::CloudDMS::V1::DatabaseType
- value (::Google::Cloud::CloudDMS::V1::DatabaseType) — The database engine type and provider of the destination.
- (::Google::Cloud::CloudDMS::V1::DatabaseType) — The database engine type and provider of the destination.
#display_name
def display_name() -> ::String
- (::String) — The migration job display name.
#display_name=
def display_name=(value) -> ::String
- value (::String) — The migration job display name.
- (::String) — The migration job display name.
#dump_flags
def dump_flags() -> ::Google::Cloud::CloudDMS::V1::MigrationJob::DumpFlags
- (::Google::Cloud::CloudDMS::V1::MigrationJob::DumpFlags) — The initial dump flags. This field and the "dump_path" field are mutually exclusive.
#dump_flags=
def dump_flags=(value) -> ::Google::Cloud::CloudDMS::V1::MigrationJob::DumpFlags
- value (::Google::Cloud::CloudDMS::V1::MigrationJob::DumpFlags) — The initial dump flags. This field and the "dump_path" field are mutually exclusive.
- (::Google::Cloud::CloudDMS::V1::MigrationJob::DumpFlags) — The initial dump flags. This field and the "dump_path" field are mutually exclusive.
#dump_path
def dump_path() -> ::String
- (::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.
#dump_path=
def dump_path=(value) -> ::String
- value (::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.
- (::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.
#duration
def duration() -> ::Google::Protobuf::Duration
- (::Google::Protobuf::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".
#end_time
def end_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. If the migration job is completed, the time when it was completed.
#error
def error() -> ::Google::Rpc::Status
- (::Google::Rpc::Status) — Output only. The error details in case of state FAILED.
#filter
def filter() -> ::String
- (::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.
#filter=
def filter=(value) -> ::String
- value (::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.
- (::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.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
-
(::Google::Protobuf::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" }
.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
-
value (::Google::Protobuf::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" }
.
-
(::Google::Protobuf::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" }
.
#name
def name() -> ::String
- (::String) — The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.
#name=
def name=(value) -> ::String
- value (::String) — The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.
- (::String) — The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}.
#phase
def phase() -> ::Google::Cloud::CloudDMS::V1::MigrationJob::Phase
- (::Google::Cloud::CloudDMS::V1::MigrationJob::Phase) — Output only. The current migration job phase.
#reverse_ssh_connectivity
def reverse_ssh_connectivity() -> ::Google::Cloud::CloudDMS::V1::ReverseSshConnectivity
- (::Google::Cloud::CloudDMS::V1::ReverseSshConnectivity) — The details needed to communicate to the source over Reverse SSH tunnel connectivity.
#reverse_ssh_connectivity=
def reverse_ssh_connectivity=(value) -> ::Google::Cloud::CloudDMS::V1::ReverseSshConnectivity
- value (::Google::Cloud::CloudDMS::V1::ReverseSshConnectivity) — The details needed to communicate to the source over Reverse SSH tunnel connectivity.
- (::Google::Cloud::CloudDMS::V1::ReverseSshConnectivity) — The details needed to communicate to the source over Reverse SSH tunnel connectivity.
#source
def source() -> ::String
- (::String) — Required. The resource name (URI) of the source connection profile.
#source=
def source=(value) -> ::String
- value (::String) — Required. The resource name (URI) of the source connection profile.
- (::String) — Required. The resource name (URI) of the source connection profile.
#source_database
def source_database() -> ::Google::Cloud::CloudDMS::V1::DatabaseType
- (::Google::Cloud::CloudDMS::V1::DatabaseType) — The database engine type and provider of the source.
#source_database=
def source_database=(value) -> ::Google::Cloud::CloudDMS::V1::DatabaseType
- value (::Google::Cloud::CloudDMS::V1::DatabaseType) — The database engine type and provider of the source.
- (::Google::Cloud::CloudDMS::V1::DatabaseType) — The database engine type and provider of the source.
#state
def state() -> ::Google::Cloud::CloudDMS::V1::MigrationJob::State
- (::Google::Cloud::CloudDMS::V1::MigrationJob::State) — The current migration job state.
#state=
def state=(value) -> ::Google::Cloud::CloudDMS::V1::MigrationJob::State
- value (::Google::Cloud::CloudDMS::V1::MigrationJob::State) — The current migration job state.
- (::Google::Cloud::CloudDMS::V1::MigrationJob::State) — The current migration job state.
#static_ip_connectivity
def static_ip_connectivity() -> ::Google::Cloud::CloudDMS::V1::StaticIpConnectivity
- (::Google::Cloud::CloudDMS::V1::StaticIpConnectivity) — static ip connectivity data (default, no additional details needed).
#static_ip_connectivity=
def static_ip_connectivity=(value) -> ::Google::Cloud::CloudDMS::V1::StaticIpConnectivity
- value (::Google::Cloud::CloudDMS::V1::StaticIpConnectivity) — static ip connectivity data (default, no additional details needed).
- (::Google::Cloud::CloudDMS::V1::StaticIpConnectivity) — static ip connectivity data (default, no additional details needed).
#type
def type() -> ::Google::Cloud::CloudDMS::V1::MigrationJob::Type
- (::Google::Cloud::CloudDMS::V1::MigrationJob::Type) — Required. The migration job type.
#type=
def type=(value) -> ::Google::Cloud::CloudDMS::V1::MigrationJob::Type
- value (::Google::Cloud::CloudDMS::V1::MigrationJob::Type) — Required. The migration job type.
- (::Google::Cloud::CloudDMS::V1::MigrationJob::Type) — Required. The migration job type.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::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".
#vpc_peering_connectivity
def vpc_peering_connectivity() -> ::Google::Cloud::CloudDMS::V1::VpcPeeringConnectivity
- (::Google::Cloud::CloudDMS::V1::VpcPeeringConnectivity) — The details of the VPC network that the source database is located in.
#vpc_peering_connectivity=
def vpc_peering_connectivity=(value) -> ::Google::Cloud::CloudDMS::V1::VpcPeeringConnectivity
- value (::Google::Cloud::CloudDMS::V1::VpcPeeringConnectivity) — The details of the VPC network that the source database is located in.
- (::Google::Cloud::CloudDMS::V1::VpcPeeringConnectivity) — The details of the VPC network that the source database is located in.