pub struct TransferRun {Show 15 fields
pub data_source_id: Option<String>,
pub destination_dataset_id: Option<String>,
pub email_preferences: Option<EmailPreferences>,
pub end_time: Option<DateTime<Utc>>,
pub error_status: Option<Status>,
pub name: Option<String>,
pub notification_pubsub_topic: Option<String>,
pub params: Option<HashMap<String, Value>>,
pub run_time: Option<DateTime<Utc>>,
pub schedule: Option<String>,
pub schedule_time: Option<DateTime<Utc>>,
pub start_time: Option<DateTime<Utc>>,
pub state: Option<String>,
pub update_time: Option<DateTime<Utc>>,
pub user_id: Option<i64>,
}Expand description
Represents a data transfer run.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations transfer configs runs get projects (response)
- transfer configs runs get projects (response)
Fields§
§data_source_id: Option<String>Output only. Data source id.
destination_dataset_id: Option<String>Output only. The BigQuery target dataset 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.
end_time: Option<DateTime<Utc>>Output only. Time when transfer run ended. Parameter ignored by server for input requests.
error_status: Option<Status>Status of the transfer run.
name: Option<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.
notification_pubsub_topic: Option<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}
params: Option<HashMap<String, Value>>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
run_time: Option<DateTime<Utc>>For batch transfer runs, specifies the date and time of the data should be ingested.
schedule: Option<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.
schedule_time: Option<DateTime<Utc>>Minimum time after which a transfer run can be started.
start_time: Option<DateTime<Utc>>Output only. Time when transfer run was started. Parameter ignored by server for input requests.
state: Option<String>Data transfer run state. Ignored for input requests.
update_time: Option<DateTime<Utc>>Output only. Last time the data transfer run state was updated.
user_id: Option<i64>Deprecated. Unique ID of the user on whose behalf transfer is done.
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§fn default() -> TransferRun
fn default() -> TransferRun
Source§impl<'de> Deserialize<'de> for TransferRun
impl<'de> Deserialize<'de> for TransferRun
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for TransferRun
impl Serialize for TransferRun
impl ResponseResult 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more