State
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Stan zadania. Ta wartość wskazuje postęp na Liście zadań.
Wartości w polu enum |
STATE_UNSPECIFIED |
Domyślny: Używana w przypadku nieokreślonego lub nierozpoznanego stanu zadania. |
OPEN |
Zadanie nie zostało jeszcze przypisane do pojazdu dostawczego lub ten pojazd nie dotarł jeszcze do przystanku pojazdu przypisanego do Task . |
CLOSED |
Gdy pojazd minie zatrzyma się w ramach tego zadania. |
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-08-31 UTC.
[null,null,["Ostatnia aktualizacja: 2025-08-31 UTC."],[[["\u003cp\u003eTask state indicates the progress of a task, such as whether it's unassigned, in progress, or completed.\u003c/p\u003e\n"],["\u003cp\u003eTasks can have three states: \u003ccode\u003eSTATE_UNSPECIFIED\u003c/code\u003e (default/unrecognized), \u003ccode\u003eOPEN\u003c/code\u003e (unassigned or not yet reached), and \u003ccode\u003eCLOSED\u003c/code\u003e (vehicle passed the task's stop).\u003c/p\u003e\n"]]],["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"],null,["# State\n\nThe state of a Task. This indicates the Tasks's progress.\n\n| Enums ||\n|---------------------|-------------------------------------------------------------------------------------------------------------------------------------------------|\n| `STATE_UNSPECIFIED` | Default. Used for an unspecified or unrecognized Task state. |\n| `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. |\n| `CLOSED` | When the vehicle passes the vehicle stop for this Task. |"]]