Struct google_api_proto::google::cloud::vmmigration::v1::CutoverJob
source · pub struct CutoverJob {
pub create_time: Option<Timestamp>,
pub end_time: Option<Timestamp>,
pub name: String,
pub state: i32,
pub state_time: Option<Timestamp>,
pub progress_percent: i32,
pub error: Option<Status>,
pub state_message: String,
pub steps: Vec<CutoverStep>,
pub target_vm_details: Option<TargetVmDetails>,
}
Expand description
CutoverJob message describes a cutover of a migrating VM. The CutoverJob is the operation of shutting down the VM, creating a snapshot and clonning the VM using the replicated snapshot.
Fields§
§create_time: Option<Timestamp>
Output only. The time the cutover job was created (as an API call, not when it was actually created in the target).
end_time: Option<Timestamp>
Output only. The time the cutover job had finished.
name: String
Output only. The name of the cutover job.
state: i32
Output only. State of the cutover job.
state_time: Option<Timestamp>
Output only. The time the state was last updated.
progress_percent: i32
Output only. The current progress in percentage of the cutover job.
error: Option<Status>
Output only. Provides details for the errors that led to the Cutover Job’s state.
state_message: String
Output only. A message providing possible extra details about the current state.
steps: Vec<CutoverStep>
Output only. The cutover steps list representing its progress.
target_vm_details: Option<TargetVmDetails>
Details of the VM to create as the target of this cutover job.
Implementations§
Trait Implementations§
source§impl Clone for CutoverJob
impl Clone for CutoverJob
source§fn clone(&self) -> CutoverJob
fn clone(&self) -> CutoverJob
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CutoverJob
impl Debug for CutoverJob
source§impl Default for CutoverJob
impl Default for CutoverJob
source§impl Message for CutoverJob
impl Message for CutoverJob
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for CutoverJob
impl PartialEq for CutoverJob
source§fn eq(&self, other: &CutoverJob) -> bool
fn eq(&self, other: &CutoverJob) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CutoverJob
Auto Trait Implementations§
impl Freeze for CutoverJob
impl RefUnwindSafe for CutoverJob
impl Send for CutoverJob
impl Sync for CutoverJob
impl Unpin for CutoverJob
impl UnwindSafe for CutoverJob
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request