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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Returns the encoded length of the message without a length delimiter.

Clears the message, resetting all fields to their default.

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

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

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Wrap the input message T in a tonic::Request

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

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