pub struct Batch {Show 14 fields
pub name: String,
pub uuid: String,
pub create_time: Option<Timestamp>,
pub runtime_info: Option<RuntimeInfo>,
pub state: i32,
pub state_message: String,
pub state_time: Option<Timestamp>,
pub creator: String,
pub labels: BTreeMap<String, String>,
pub runtime_config: Option<RuntimeConfig>,
pub environment_config: Option<EnvironmentConfig>,
pub operation: String,
pub state_history: Vec<StateHistory>,
pub batch_config: Option<BatchConfig>,
}
Expand description
A representation of a batch workload in the service.
Fields§
§name: String
Output only. The resource name of the batch.
uuid: String
Output only. A batch UUID (Unique Universal Identifier). The service generates this value when it creates the batch.
create_time: Option<Timestamp>
Output only. The time when the batch was created.
runtime_info: Option<RuntimeInfo>
Output only. Runtime information about batch execution.
state: i32
Output only. The state of the batch.
state_message: String
Output only. Batch state details, such as a failure
description if the state is FAILED
.
state_time: Option<Timestamp>
Output only. The time when the batch entered a current state.
creator: String
Output only. The email address of the user who created the batch.
labels: BTreeMap<String, String>
Optional. The labels to associate with this batch. Label keys must contain 1 to 63 characters, and must conform to RFC 1035. Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035. No more than 32 labels can be associated with a batch.
runtime_config: Option<RuntimeConfig>
Optional. Runtime configuration for the batch execution.
environment_config: Option<EnvironmentConfig>
Optional. Environment configuration for the batch execution.
operation: String
Output only. The resource name of the operation associated with this batch.
state_history: Vec<StateHistory>
Output only. Historical state information for the batch.
batch_config: Option<BatchConfig>
The application/framework-specific portion of the batch configuration.
Implementations§
Trait Implementations§
source§impl Message for Batch
impl Message for Batch
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for Batch
impl PartialEq for Batch
impl StructuralPartialEq 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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request