Struct google_api_proto::google::cloud::bigquery::migration::v2::MigrationTask
source · pub struct MigrationTask {
pub id: String,
pub type: String,
pub state: i32,
pub processing_error: Option<ErrorInfo>,
pub create_time: Option<Timestamp>,
pub last_update_time: Option<Timestamp>,
pub task_details: Option<TaskDetails>,
}
Expand description
A single task for a migration which has details about the configuration of the task.
Fields§
§id: String
Output only. Immutable. The unique identifier for the migration task. The ID is server-generated.
type: String
The type of the task. This must be one of the supported task types: Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ, Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ, Translation_Snowflake2BQ, Translation_Netezza2BQ, Translation_AzureSynapse2BQ, Translation_Vertica2BQ, Translation_SQLServer2BQ, Translation_Presto2BQ, Translation_MySQL2BQ, Translation_Postgresql2BQ.
state: i32
Output only. The current state of the task.
processing_error: Option<ErrorInfo>
Output only. An explanation that may be populated when the task is in FAILED state.
create_time: Option<Timestamp>
Time when the task was created.
last_update_time: Option<Timestamp>
Time when the task was last updated.
task_details: Option<TaskDetails>
The details of the task.
Implementations§
Trait Implementations§
source§impl Clone for MigrationTask
impl Clone for MigrationTask
source§fn clone(&self) -> MigrationTask
fn clone(&self) -> MigrationTask
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MigrationTask
impl Debug for MigrationTask
source§impl Default for MigrationTask
impl Default for MigrationTask
source§impl Message for MigrationTask
impl Message for MigrationTask
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
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<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
Self: Sized,
fn encode_length_delimited<B>(&self, buf: &mut B) -> Result<(), EncodeError>where
B: BufMut,
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<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError>where
B: Buf,
Self: Default,
source§fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
. Read moresource§fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
fn merge_length_delimited<B>(&mut self, buf: B) -> Result<(), DecodeError>where
B: Buf,
Self: Sized,
self
.source§impl PartialEq for MigrationTask
impl PartialEq for MigrationTask
source§fn eq(&self, other: &MigrationTask) -> bool
fn eq(&self, other: &MigrationTask) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MigrationTask
Auto Trait Implementations§
impl Freeze for MigrationTask
impl RefUnwindSafe for MigrationTask
impl Send for MigrationTask
impl Sync for MigrationTask
impl Unpin for MigrationTask
impl UnwindSafe for MigrationTask
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