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
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::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
Returns
- (::String) — Required. The resource name (URI) of the destination connection profile.
#destination=
def destination=(value) -> ::String
Parameter
- value (::String) — Required. The resource name (URI) of the destination connection profile.
Returns
- (::String) — Required. The resource name (URI) of the destination connection profile.
#destination_database
def destination_database() -> ::Google::Cloud::CloudDMS::V1::DatabaseType
Returns
- (::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
Parameter
- value (::Google::Cloud::CloudDMS::V1::DatabaseType) — The database engine type and provider of the destination.
Returns
- (::Google::Cloud::CloudDMS::V1::DatabaseType) — The database engine type and provider of the destination.
#display_name
def display_name() -> ::String
Returns
- (::String) — The migration job display name.
#display_name=
def display_name=(value) -> ::String
Parameter
- value (::String) — The migration job display name.
Returns
- (::String) — The migration job display name.
#dump_path
def dump_path() -> ::String
Returns
- (::String) — The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).
#dump_path=
def dump_path=(value) -> ::String
Parameter
- value (::String) — The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).
Returns
- (::String) — The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).
#duration
def duration() -> ::Google::Protobuf::Duration
Returns
- (::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
Returns
- (::Google::Protobuf::Timestamp) — Output only. If the migration job is completed, the time when it was completed.
#error
def error() -> ::Google::Rpc::Status
Returns
- (::Google::Rpc::Status) — Output only. The error details in case of state FAILED.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
-
(::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}
Parameter
-
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" }
.
Returns
-
(::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
Returns
- (::String) — The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/instances/{instance}.
#name=
def name=(value) -> ::String
Parameter
- value (::String) — The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/instances/{instance}.
Returns
- (::String) — The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/instances/{instance}.
#phase
def phase() -> ::Google::Cloud::CloudDMS::V1::MigrationJob::Phase
Returns
- (::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
Returns
- (::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
Parameter
- value (::Google::Cloud::CloudDMS::V1::ReverseSshConnectivity) — The details needed to communicate to the source over Reverse SSH tunnel connectivity.
Returns
- (::Google::Cloud::CloudDMS::V1::ReverseSshConnectivity) — The details needed to communicate to the source over Reverse SSH tunnel connectivity.
#source
def source() -> ::String
Returns
- (::String) — Required. The resource name (URI) of the source connection profile.
#source=
def source=(value) -> ::String
Parameter
- value (::String) — Required. The resource name (URI) of the source connection profile.
Returns
- (::String) — Required. The resource name (URI) of the source connection profile.
#source_database
def source_database() -> ::Google::Cloud::CloudDMS::V1::DatabaseType
Returns
- (::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
Parameter
- value (::Google::Cloud::CloudDMS::V1::DatabaseType) — The database engine type and provider of the source.
Returns
- (::Google::Cloud::CloudDMS::V1::DatabaseType) — The database engine type and provider of the source.
#state
def state() -> ::Google::Cloud::CloudDMS::V1::MigrationJob::State
Returns
- (::Google::Cloud::CloudDMS::V1::MigrationJob::State) — The current migration job state.
#state=
def state=(value) -> ::Google::Cloud::CloudDMS::V1::MigrationJob::State
Parameter
- value (::Google::Cloud::CloudDMS::V1::MigrationJob::State) — The current migration job state.
Returns
- (::Google::Cloud::CloudDMS::V1::MigrationJob::State) — The current migration job state.
#static_ip_connectivity
def static_ip_connectivity() -> ::Google::Cloud::CloudDMS::V1::StaticIpConnectivity
Returns
- (::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
Parameter
- value (::Google::Cloud::CloudDMS::V1::StaticIpConnectivity) — static ip connectivity data (default, no additional details needed).
Returns
- (::Google::Cloud::CloudDMS::V1::StaticIpConnectivity) — static ip connectivity data (default, no additional details needed).
#type
def type() -> ::Google::Cloud::CloudDMS::V1::MigrationJob::Type
Returns
- (::Google::Cloud::CloudDMS::V1::MigrationJob::Type) — Required. The migration job type.
#type=
def type=(value) -> ::Google::Cloud::CloudDMS::V1::MigrationJob::Type
Parameter
- value (::Google::Cloud::CloudDMS::V1::MigrationJob::Type) — Required. The migration job type.
Returns
- (::Google::Cloud::CloudDMS::V1::MigrationJob::Type) — Required. The migration job type.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::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
Returns
- (::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
Parameter
- value (::Google::Cloud::CloudDMS::V1::VpcPeeringConnectivity) — The details of the VPC network that the source database is located in.
Returns
- (::Google::Cloud::CloudDMS::V1::VpcPeeringConnectivity) — The details of the VPC network that the source database is located in.