Struct google_api_proto::google::ads::googleads::v15::resources::batch_job::BatchJobMetadata
source · pub struct BatchJobMetadata {
pub creation_date_time: Option<String>,
pub start_date_time: Option<String>,
pub completion_date_time: Option<String>,
pub estimated_completion_ratio: Option<f64>,
pub operation_count: Option<i64>,
pub executed_operation_count: Option<i64>,
pub execution_limit_seconds: Option<i32>,
}
Expand description
Additional information about the batch job. This message is also used as metadata returned in batch job Long Running Operations.
Fields§
§creation_date_time: Option<String>
Output only. The time when this batch job was created. Formatted as yyyy-mm-dd hh:mm:ss. Example: “2018-03-05 09:15:00”
start_date_time: Option<String>
Output only. The time when this batch job started running. Formatted as yyyy-mm-dd hh:mm:ss. Example: “2018-03-05 09:15:30”
completion_date_time: Option<String>
Output only. The time when this batch job was completed. Formatted as yyyy-MM-dd HH:mm:ss. Example: “2018-03-05 09:16:00”
estimated_completion_ratio: Option<f64>
Output only. The fraction (between 0.0 and 1.0) of mutates that have been processed. This is empty if the job hasn’t started running yet.
operation_count: Option<i64>
Output only. The number of mutate operations in the batch job.
executed_operation_count: Option<i64>
Output only. The number of mutate operations executed by the batch job. Present only if the job has started running.
execution_limit_seconds: Option<i32>
Immutable. The approximate upper bound for how long a batch job can be executed, in seconds. If the job runs more than the given upper bound, the job will be canceled.
Implementations§
source§impl BatchJobMetadata
impl BatchJobMetadata
sourcepub fn start_date_time(&self) -> &str
pub fn start_date_time(&self) -> &str
Returns the value of start_date_time
, or the default value if start_date_time
is unset.
sourcepub fn creation_date_time(&self) -> &str
pub fn creation_date_time(&self) -> &str
Returns the value of creation_date_time
, or the default value if creation_date_time
is unset.
sourcepub fn completion_date_time(&self) -> &str
pub fn completion_date_time(&self) -> &str
Returns the value of completion_date_time
, or the default value if completion_date_time
is unset.
sourcepub fn estimated_completion_ratio(&self) -> f64
pub fn estimated_completion_ratio(&self) -> f64
Returns the value of estimated_completion_ratio
, or the default value if estimated_completion_ratio
is unset.
sourcepub fn operation_count(&self) -> i64
pub fn operation_count(&self) -> i64
Returns the value of operation_count
, or the default value if operation_count
is unset.
sourcepub fn executed_operation_count(&self) -> i64
pub fn executed_operation_count(&self) -> i64
Returns the value of executed_operation_count
, or the default value if executed_operation_count
is unset.
sourcepub fn execution_limit_seconds(&self) -> i32
pub fn execution_limit_seconds(&self) -> i32
Returns the value of execution_limit_seconds
, or the default value if execution_limit_seconds
is unset.
Trait Implementations§
source§impl Clone for BatchJobMetadata
impl Clone for BatchJobMetadata
source§fn clone(&self) -> BatchJobMetadata
fn clone(&self) -> BatchJobMetadata
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BatchJobMetadata
impl Debug for BatchJobMetadata
source§impl Default for BatchJobMetadata
impl Default for BatchJobMetadata
source§impl Message for BatchJobMetadata
impl Message for BatchJobMetadata
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 BatchJobMetadata
impl PartialEq for BatchJobMetadata
source§fn eq(&self, other: &BatchJobMetadata) -> bool
fn eq(&self, other: &BatchJobMetadata) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BatchJobMetadata
Auto Trait Implementations§
impl Freeze for BatchJobMetadata
impl RefUnwindSafe for BatchJobMetadata
impl Send for BatchJobMetadata
impl Sync for BatchJobMetadata
impl Unpin for BatchJobMetadata
impl UnwindSafe for BatchJobMetadata
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