Struct google_api_proto::google::cloud::bigquery::migration::v2::MigrationTask
source · pub struct MigrationTask {Show 13 fields
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 resource_error_details: Vec<ResourceErrorDetail>,
pub resource_error_count: i32,
pub metrics: Vec<TimeSeries>,
pub task_result: Option<MigrationTaskResult>,
pub total_processing_error_count: i32,
pub total_resource_error_count: i32,
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, Translation_SQLite2BQ, Translation_Greenplum2BQ.
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.
resource_error_details: Vec<ResourceErrorDetail>
Output only. Provides details to errors and issues encountered while processing the task. Presence of error details does not mean that the task failed.
resource_error_count: i32
The number or resources with errors. Note: This is not the total
number of errors as each resource can have more than one error.
This is used to indicate truncation by having a resource_error_count
that is higher than the size of resource_error_details
.
metrics: Vec<TimeSeries>
The metrics for the task.
task_result: Option<MigrationTaskResult>
Output only. The result of the task.
total_processing_error_count: i32
Count of all the processing errors in this task and its subtasks.
total_resource_error_count: i32
Count of all the resource errors in this task and its subtasks.
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(&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 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