pub struct TaskStatus {
pub completion_time: Option<DateTime<Utc>>,
pub conditions: Option<Vec<GoogleCloudRunV1Condition>>,
pub index: Option<i32>,
pub last_attempt_result: Option<TaskAttemptResult>,
pub log_uri: Option<String>,
pub observed_generation: Option<i32>,
pub retried: Option<i32>,
pub start_time: Option<DateTime<Utc>>,
}Expand description
TaskStatus represents the status of a task.
This type is not used in any activity, and only used as part of another schema.
Fields§
§completion_time: Option<DateTime<Utc>>Optional. Represents time when the task was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC.
conditions: Option<Vec<GoogleCloudRunV1Condition>>Optional. Conditions communicate information about ongoing/complete reconciliation processes that bring the “spec” inline with the observed state of the world. Task-specific conditions include: * Started: True when the task has started to execute. * Completed: True when the task has succeeded. False when the task has failed.
index: Option<i32>Required. Index of the task, unique per execution, and beginning at 0.
last_attempt_result: Option<TaskAttemptResult>Optional. Result of the last attempt of this task.
log_uri: Option<String>Optional. URI where logs for this task can be found in Cloud Console.
observed_generation: Option<i32>Optional. The ‘generation’ of the task that was last processed by the controller.
retried: Option<i32>Optional. The number of times this task was retried. Instances are retried when they fail up to the maxRetries limit.
start_time: Option<DateTime<Utc>>Optional. Represents time when the task started to run. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC.
Trait Implementations§
Source§impl Clone for TaskStatus
impl Clone for TaskStatus
Source§fn clone(&self) -> TaskStatus
fn clone(&self) -> TaskStatus
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more