Represents a Vehicle’s travel segment - from its previous stop to the current stop. If it is the first active stop, then it is from the Vehicle’s current location to this stop.
JSON representation |
---|
{ "stop": { object ( |
Fields | |
---|---|
stop |
Specifies the stop location, along with the |
driving |
Output only. The travel distance from the previous stop to this stop. If the current stop is the first stop in the list of journey segments, then the starting point is the vehicle's location recorded at the time that this stop was added to the list. This field might not be present if this journey segment is part of |
driving |
Output only. The travel time from the previous stop to this stop. If the current stop is the first stop in the list of journey segments, then the starting point is the Vehicle's location recorded at the time that this stop was added to the list. If this field is defined in the path A duration in seconds with up to nine fractional digits, ending with ' |
path[] |
Output only. The path from the previous stop to this stop. If the current stop is the first stop in the list of journey segments, then this is the path from the vehicle's current location to this stop at the time that the stop was added to the list. This field might not be present if this journey segment is part of If this field is defined in the path |
VehicleStop
Describes a point where a Vehicle stops to perform one or more Task
s.
JSON representation |
---|
{ "plannedLocation": { object ( |
Fields | |
---|---|
planned |
Required. The location of the stop. Note that the locations in the |
tasks[] |
The list of |
state |
The state of the |
TaskInfo
Additional information about the Task performed at this stop.
JSON representation |
---|
{
"taskId": string,
"taskDuration": string,
"targetTimeWindow": {
object ( |
Fields | |
---|---|
task |
The Task ID. This field won't be populated in the response of a
|
task |
Output only. The time required to perform the Task. A duration in seconds with up to nine fractional digits, ending with ' |
target |
Output only. The time window during which the task should be completed. This is only set in the response to |
State
The current state of a VehicleStop
.
Enums | |
---|---|
STATE_UNSPECIFIED |
Unknown. |
NEW |
Created, but not actively routing. |
ENROUTE |
Assigned and actively routing. |
ARRIVED |
Arrived at stop. Assumes that when the Vehicle is routing to the next stop, that all previous stops have been completed. |