State
The state of a Task. This indicates the Tasks's progress.
Enums |
STATE_UNSPECIFIED |
Default. Used for an unspecified or unrecognized Task state. |
OPEN |
Either the Task has not yet been assigned to a delivery vehicle, or the delivery vehicle has not yet passed the Task 's assigned vehicle stop. |
CLOSED |
When the vehicle passes the vehicle stop for this Task. |
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."],[[["Task state indicates the progress of a task, such as whether it's unassigned, in progress, or completed."],["Tasks can have three states: `STATE_UNSPECIFIED` (default/unrecognized), `OPEN` (unassigned or not yet reached), and `CLOSED` (vehicle passed the task's stop)."]]],["Task states indicate a task's progress. `STATE_UNSPECIFIED` is the default for unknown states. `OPEN` signifies the task is unassigned or the vehicle hasn't reached its stop. `CLOSED` indicates the vehicle has passed the task's designated stop. These states track the transition from unassigned or pending to a completed stage based on vehicle movement.\n"]]