Struct google_datamigration1::api::MigrationJob[][src]

pub struct MigrationJob {
    pub create_time: Option<String>,
    pub destination: Option<String>,
    pub destination_database: Option<DatabaseType>,
    pub display_name: Option<String>,
    pub dump_path: Option<String>,
    pub duration: Option<String>,
    pub end_time: Option<String>,
    pub error: Option<Status>,
    pub labels: Option<HashMap<String, String>>,
    pub name: Option<String>,
    pub phase: Option<String>,
    pub reverse_ssh_connectivity: Option<ReverseSshConnectivity>,
    pub source: Option<String>,
    pub source_database: Option<DatabaseType>,
    pub state: Option<String>,
    pub static_ip_connectivity: Option<StaticIpConnectivity>,
    pub type_: Option<String>,
    pub update_time: Option<String>,
    pub vpc_peering_connectivity: Option<VpcPeeringConnectivity>,
}

Represents a Database Migration Service migration job object.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

create_time: Option<String>

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: Option<String>

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

destination_database: Option<DatabaseType>

The database engine type and provider of the destination.

display_name: Option<String>

The migration job display name.

dump_path: Option<String>

The path to the dump file in Google Cloud Storage, in the format: (gs://[BUCKET_NAME]/[OBJECT_NAME]).

duration: Option<String>

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: Option<String>

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

error: Option<Status>

Output only. The error details in case of state FAILED.

labels: Option<HashMap<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: Option<String>

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

phase: Option<String>

Output only. The current migration job phase.

reverse_ssh_connectivity: Option<ReverseSshConnectivity>

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

source: Option<String>

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

source_database: Option<DatabaseType>

The database engine type and provider of the source.

state: Option<String>

The current migration job state.

static_ip_connectivity: Option<StaticIpConnectivity>

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

type_: Option<String>

Required. The migration job type.

update_time: Option<String>

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: Option<VpcPeeringConnectivity>

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

Trait Implementations

impl Clone for MigrationJob[src]

impl Debug for MigrationJob[src]

impl Default for MigrationJob[src]

impl<'de> Deserialize<'de> for MigrationJob[src]

impl RequestValue for MigrationJob[src]

impl ResponseResult for MigrationJob[src]

impl Serialize for MigrationJob[src]

Auto Trait Implementations

impl RefUnwindSafe for MigrationJob[src]

impl Send for MigrationJob[src]

impl Sync for MigrationJob[src]

impl Unpin for MigrationJob[src]

impl UnwindSafe for MigrationJob[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.