TaskState Data Type

The possible states for a task.

value description
QUEUED The task has been submitted but has not begun execution.
RUNNING The task is currently running.
FAILED The task did not complete successfully.
COMPLETE The task completed successfully.
CANCELLED The task was cancelled by a user.
CANCEL_REQUESTED A user has requested that the task be cancelled but it has not yet stopped.