Struct google_api_proto::google::cloud::bigquery::datatransfer::v1::TransferRun
source · pub struct TransferRun {Show 15 fields
pub name: String,
pub schedule_time: Option<Timestamp>,
pub run_time: Option<Timestamp>,
pub error_status: Option<Status>,
pub start_time: Option<Timestamp>,
pub end_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub params: Option<Struct>,
pub data_source_id: String,
pub state: i32,
pub user_id: i64,
pub schedule: String,
pub notification_pubsub_topic: String,
pub email_preferences: Option<EmailPreferences>,
pub destination: Option<Destination>,
}
Expand description
Represents a data transfer run.
Fields§
§name: String
Identifier. The resource name of the transfer run.
Transfer run names have the form
projects/{project_id}/locations/{location}/transferConfigs/{config_id}/runs/{run_id}
.
The name is ignored when creating a transfer run.
schedule_time: Option<Timestamp>
Minimum time after which a transfer run can be started.
run_time: Option<Timestamp>
For batch transfer runs, specifies the date and time of the data should be ingested.
error_status: Option<Status>
Status of the transfer run.
start_time: Option<Timestamp>
Output only. Time when transfer run was started. Parameter ignored by server for input requests.
end_time: Option<Timestamp>
Output only. Time when transfer run ended. Parameter ignored by server for input requests.
update_time: Option<Timestamp>
Output only. Last time the data transfer run state was updated.
params: Option<Struct>
Output only. Parameters specific to each data source. For more information see the bq tab in the ‘Setting up a data transfer’ section for each data source. For example the parameters for Cloud Storage transfers are listed here: https://cloud.google.com/bigquery-transfer/docs/cloud-storage-transfer#bq
data_source_id: String
Output only. Data source id.
state: i32
Data transfer run state. Ignored for input requests.
user_id: i64
Deprecated. Unique ID of the user on whose behalf transfer is done.
schedule: String
Output only. Describes the schedule of this transfer run if it was
created as part of a regular schedule. For batch transfer runs that are
scheduled manually, this is empty.
NOTE: the system might choose to delay the schedule depending on the
current load, so schedule_time
doesn’t always match this.
notification_pubsub_topic: String
Output only. Pub/Sub topic where a notification will be sent after this transfer run finishes.
The format for specifying a pubsub topic is:
projects/{project_id}/topics/{topic_id}
email_preferences: Option<EmailPreferences>
Output only. Email notifications will be sent according to these preferences to the email address of the user who owns the transfer config this run was derived from.
destination: Option<Destination>
Data transfer destination.
Implementations§
source§impl TransferRun
impl TransferRun
sourcepub fn state(&self) -> TransferState
pub fn state(&self) -> TransferState
Returns the enum value of state
, or the default if the field is set to an invalid enum value.
sourcepub fn set_state(&mut self, value: TransferState)
pub fn set_state(&mut self, value: TransferState)
Sets state
to the provided enum value.
Trait Implementations§
source§impl Clone for TransferRun
impl Clone for TransferRun
source§fn clone(&self) -> TransferRun
fn clone(&self) -> TransferRun
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for TransferRun
impl Debug for TransferRun
source§impl Default for TransferRun
impl Default for TransferRun
source§impl Message for TransferRun
impl Message for TransferRun
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 TransferRun
impl PartialEq for TransferRun
source§fn eq(&self, other: &TransferRun) -> bool
fn eq(&self, other: &TransferRun) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TransferRun
Auto Trait Implementations§
impl Freeze for TransferRun
impl RefUnwindSafe for TransferRun
impl Send for TransferRun
impl Sync for TransferRun
impl Unpin for TransferRun
impl UnwindSafe for TransferRun
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