Cloud Database Migration Service V1 API - Class Google::Cloud::CloudDMS::V1::MigrationJob (v0.2.0)

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

#destination_database=

def destination_database=(value) -> ::Google::Cloud::CloudDMS::V1::DatabaseType
Parameter
Returns

#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

#error

def error() -> ::Google::Rpc::Status
Returns

#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

#reverse_ssh_connectivity

def reverse_ssh_connectivity() -> ::Google::Cloud::CloudDMS::V1::ReverseSshConnectivity
Returns

#reverse_ssh_connectivity=

def reverse_ssh_connectivity=(value) -> ::Google::Cloud::CloudDMS::V1::ReverseSshConnectivity
Parameter
Returns

#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

#source_database=

def source_database=(value) -> ::Google::Cloud::CloudDMS::V1::DatabaseType
Parameter
Returns

#state

def state() -> ::Google::Cloud::CloudDMS::V1::MigrationJob::State
Returns

#state=

def state=(value) -> ::Google::Cloud::CloudDMS::V1::MigrationJob::State
Parameter
Returns

#static_ip_connectivity

def static_ip_connectivity() -> ::Google::Cloud::CloudDMS::V1::StaticIpConnectivity
Returns

#static_ip_connectivity=

def static_ip_connectivity=(value) -> ::Google::Cloud::CloudDMS::V1::StaticIpConnectivity
Parameter
Returns

#type

def type() -> ::Google::Cloud::CloudDMS::V1::MigrationJob::Type
Returns

#type=

def type=(value) -> ::Google::Cloud::CloudDMS::V1::MigrationJob::Type
Parameter
Returns

#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

#vpc_peering_connectivity=

def vpc_peering_connectivity=(value) -> ::Google::Cloud::CloudDMS::V1::VpcPeeringConnectivity
Parameter
Returns