Struct gapi_grpc::google::cloud::clouddms::logging::v1::LoggedMigrationJob[][src]

pub struct LoggedMigrationJob {
    pub name: String,
    pub labels: HashMap<String, String>,
    pub display_name: String,
    pub state: i32,
    pub phase: i32,
    pub type: i32,
    pub dump_path: String,
    pub source: String,
    pub destination: String,
    pub duration: Option<Duration>,
    pub connectivity_type: i32,
    pub error: Option<Status>,
    pub end_time: Option<Timestamp>,
    pub source_database: Option<DatabaseType>,
    pub destination_database: Option<DatabaseType>,
}

Migration job as stored in Cloud Logging logs. NEXT_TAG = 36.

Fields

name: String

Required. The unique identifier for a migration job.

labels: HashMap<String, String>

Required. Labels.

display_name: String

Required. The display name.

state: i32

Required. The current migration job state.

phase: i32

Required. The current migration job phase.

type: i32

Required. The migration job type.

dump_path: String

Optional. An optional dump path (gs://[BUCKET_NAME]/[OBJECT_NAME]).

source: String

Required. The migration job source connection profile name.

destination: String

Required. The migration job destination connection profile name.

duration: Option<Duration>

Required. the migration job duration in seconds.

connectivity_type: i32

Required. Type of connectivity to source database.

error: Option<Status>

Required. The error details in case of state FAILED.

end_time: Option<Timestamp>

Required. The time when this migration job was completed. Should only be set when the phase of the migration job is COMPLETED.

source_database: Option<DatabaseType>

Required. The indicative source database.

destination_database: Option<DatabaseType>

Required. The indicative destination database.

Implementations

impl LoggedMigrationJob[src]

pub fn state(&self) -> State[src]

Returns the enum value of state, or the default if the field is set to an invalid enum value.

pub fn set_state(&mut self, value: State)[src]

Sets state to the provided enum value.

pub fn phase(&self) -> Phase[src]

Returns the enum value of phase, or the default if the field is set to an invalid enum value.

pub fn set_phase(&mut self, value: Phase)[src]

Sets phase to the provided enum value.

pub fn type(&self) -> Type[src]

Returns the enum value of type, or the default if the field is set to an invalid enum value.

pub fn set_type(&mut self, value: Type)[src]

Sets type to the provided enum value.

pub fn connectivity_type(&self) -> ConnectivityType[src]

Returns the enum value of connectivity_type, or the default if the field is set to an invalid enum value.

pub fn set_connectivity_type(&mut self, value: ConnectivityType)[src]

Sets connectivity_type to the provided enum value.

Trait Implementations

impl Clone for LoggedMigrationJob[src]

impl Debug for LoggedMigrationJob[src]

impl Default for LoggedMigrationJob[src]

impl Message for LoggedMigrationJob[src]

impl PartialEq<LoggedMigrationJob> for LoggedMigrationJob[src]

impl StructuralPartialEq for LoggedMigrationJob[src]

Auto Trait Implementations

impl RefUnwindSafe for LoggedMigrationJob

impl Send for LoggedMigrationJob

impl Sync for LoggedMigrationJob

impl Unpin for LoggedMigrationJob

impl UnwindSafe for LoggedMigrationJob

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> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> IntoRequest<T> for 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]