AI-generated Key Takeaways
-
Represents a vehicle's travel segment, including the stop location, driving distance, and driving duration.
-
Describes a vehicle stop with details on the location, tasks to be performed, and the stop's state.
-
Provides additional information about individual tasks, such as task ID, duration, and target completion time window.
Represents a vehicle’s travel segment from its previous stop to the current stop in the Deliveries API.
| JSON representation |
|---|
{
"stop": {
object ( |
| Fields | |
|---|---|
stop |
Specifies the actual stop location and the tasks associated with the stop. |
drivingDistanceMeters |
Travel distance from previous stop to the vehicle stop. |
drivingDuration |
Travel time from previous stop to the vehicle stop. A duration in seconds with up to nine fractional digits, ending with ' |
VehicleStopLog
Describes a point where a vehicle will stop on its journey to perform one or more tasks in the Deliveries API.
| JSON representation |
|---|
{ "plannedLocation": { object ( |
| Fields | |
|---|---|
plannedLocation |
The location of the stop. Note that the locations in the tasks may not exactly match this location, but will be within a short distance. |
tasks[] |
The list of tasks to be performed at this stop. |
state |
The VehicleStop state. |
TaskInfoLog
Additional information about the task performed at this stop.
| JSON representation |
|---|
{
"taskId": string,
"taskDuration": string,
"targetTimeWindow": {
object ( |
| Fields | |
|---|---|
taskId |
The ID of the task. |
taskDuration |
The time required to perform the task. A duration in seconds with up to nine fractional digits, ending with ' |
targetTimeWindow |
The time window during which the task should be completed. |