TaskOutcome
The outcome of attempting to execute a Task. When TaskState
is closed, TaskOutcome
indicates whether it was completed successfully.
Enums |
TASK_OUTCOME_UNSPECIFIED |
The Task outcome before its value is set. |
SUCCEEDED |
The Task completed successfully. |
FAILED |
Either the Task couldn't be completed, or it was cancelled. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-24 UTC.
[null,null,["Last updated 2024-07-24 UTC."],[[["`TaskOutcome` shows the result of a Task execution attempt, mainly focusing on success or failure when the Task is closed."],["The enum provides three states: `TASK_OUTCOME_UNSPECIFIED` for an initial unset state, `SUCCEEDED` for successful completion, and `FAILED` for either incompletion or cancellation of the task."]]],[]]