pub struct Batch {Show 17 fields
pub create_time: Option<DateTime<Utc>>,
pub creator: Option<String>,
pub environment_config: Option<EnvironmentConfig>,
pub labels: Option<HashMap<String, String>>,
pub name: Option<String>,
pub operation: Option<String>,
pub pyspark_batch: Option<PySparkBatch>,
pub runtime_config: Option<RuntimeConfig>,
pub runtime_info: Option<RuntimeInfo>,
pub spark_batch: Option<SparkBatch>,
pub spark_r_batch: Option<SparkRBatch>,
pub spark_sql_batch: Option<SparkSqlBatch>,
pub state: Option<String>,
pub state_history: Option<Vec<StateHistory>>,
pub state_message: Option<String>,
pub state_time: Option<DateTime<Utc>>,
pub uuid: Option<String>,
}
Expand description
A representation of a batch workload in the service.
§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 batches create projects (request)
- locations batches get projects (response)
Fields§
§create_time: Option<DateTime<Utc>>
Output only. The time when the batch was created.
creator: Option<String>
Output only. The email address of the user who created the batch.
environment_config: Option<EnvironmentConfig>
Optional. Environment configuration for the batch execution.
labels: Option<HashMap<String, String>>
Optional. The labels to associate with this batch. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a batch.
name: Option<String>
Output only. The resource name of the batch.
operation: Option<String>
Output only. The resource name of the operation associated with this batch.
pyspark_batch: Option<PySparkBatch>
Optional. PySpark batch config.
runtime_config: Option<RuntimeConfig>
Optional. Runtime configuration for the batch execution.
runtime_info: Option<RuntimeInfo>
Output only. Runtime information about batch execution.
spark_batch: Option<SparkBatch>
Optional. Spark batch config.
spark_r_batch: Option<SparkRBatch>
Optional. SparkR batch config.
spark_sql_batch: Option<SparkSqlBatch>
Optional. SparkSql batch config.
state: Option<String>
Output only. The state of the batch.
state_history: Option<Vec<StateHistory>>
Output only. Historical state information for the batch.
state_message: Option<String>
Output only. Batch state details, such as a failure description if the state is FAILED.
state_time: Option<DateTime<Utc>>
Output only. The time when the batch entered a current state.
uuid: Option<String>
Output only. A batch UUID (Unique Universal Identifier). The service generates this value when it creates the batch.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Batch
impl<'de> Deserialize<'de> for Batch
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>,
impl RequestValue for Batch
impl ResponseResult for Batch
Auto Trait Implementations§
impl Freeze for Batch
impl RefUnwindSafe for Batch
impl Send for Batch
impl Sync for Batch
impl Unpin for Batch
impl UnwindSafe for Batch
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