[][src]Struct gcp_client::google::cloud::bigquery::datatransfer::v1::TransferRun

pub struct TransferRun {
    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>,
}

Represents a data transfer run.

Fields

name: String

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. Data transfer specific parameters.

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

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

impl TransferRun[src]

pub fn state(&self) -> TransferState[src]

Returns the enum value of state, or the default if the field is set to an invalid enum value.

pub fn set_state(&mut self, value: TransferState)[src]

Sets state to the provided enum value.

Trait Implementations

impl Clone for TransferRun[src]

impl Debug for TransferRun[src]

impl Default for TransferRun[src]

impl Message for TransferRun[src]

impl PartialEq<TransferRun> for TransferRun[src]

impl StructuralPartialEq for TransferRun[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]