TaskState

The set of states a Task can be in.

Enums
TASK_STATE_UNSPECIFIED
TASK_STATE_SUBMITTED Represents the status that acknowledges a task is created
TASK_STATE_WORKING Represents the status that a task is actively being processed
TASK_STATE_COMPLETED Represents the status a task is finished. This is a terminal state
TASK_STATE_FAILED Represents the status a task is done but failed. This is a terminal state
TASK_STATE_CANCELLED Represents the status a task was cancelled before it finished. This is a terminal state.
TASK_STATE_INPUT_REQUIRED Represents the status that the task requires information to complete. This is an interrupted state.
TASK_STATE_REJECTED Represents the status that the agent has decided to not perform the task. This may be done during initial task creation or later once an agent has determined it can't or won't proceed. This is a terminal state.
TASK_STATE_AUTH_REQUIRED Represents the state that some authentication is needed from the upstream client. Authentication is expected to come out-of-band thus this is not an interrupted or terminal state.