Struct googapis::google::cloud::bigquery::datatransfer::v1::TransferRun [−][src]
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
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}/topics/{topic}
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
Returns the enum value of state
, or the default if the field is set to an invalid enum value.
Sets state
to the provided enum value.
Trait Implementations
fn merge_field<B>(
&mut self,
tag: u32,
wire_type: WireType,
buf: &mut B,
ctx: DecodeContext
) -> Result<(), DecodeError> where
B: Buf,
Returns the encoded length of the message without a length delimiter.
Encodes the message to a buffer. Read more
Encodes the message to a newly allocated buffer.
Encodes the message with a length-delimiter to a buffer. Read more
Encodes the message with a length-delimiter to a newly allocated buffer.
Decodes an instance of the message from a buffer. Read more
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
fn decode_length_delimited<B>(buf: B) -> Result<Self, DecodeError> where
Self: Default,
B: Buf,
Decodes a length-delimited instance of the message from the buffer.
Decodes an instance of the message from a buffer, and merges it into self
. Read more
Decodes a length-delimited instance of the message from buffer, and
merges it into self
. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TransferRun
impl Send for TransferRun
impl Sync for TransferRun
impl Unpin for TransferRun
impl UnwindSafe for TransferRun
Blanket Implementations
Mutably borrows from an owned value. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more