Last Mile Fleet Solution is currently available only to select customers. Contact sales to learn more.

VehicleJourneySegmentLog

Represents a vehicle’s travel segment from its previous stop to the current stop in the Deliveries API.

JSON representation
{
  "stop": {
    object (VehicleStopLog)
  },
  "pathHandle": string,
  "drivingDistanceMeters": integer,
  "drivingDuration": string
}
Fields
stop

object (VehicleStopLog)

Specifies the actual stop location and the tasks associated with the stop.

pathHandle

string (bytes format)

The handle to get the path.

A base64-encoded string.

drivingDistanceMeters

integer

Travel distance from previous stop to the vehicle stop.

drivingDuration

string (Duration format)

Travel time from previous stop to the vehicle stop.

A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".

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 (LocationInfoLog)
  },
  "tasks": [
    {
      object (TaskInfoLog)
    }
  ],
  "state": enum (VehicleStopStateLog)
}
Fields
plannedLocation

object (LocationInfoLog)

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[]

object (TaskInfoLog)

The list of tasks to be performed at this stop.

state

enum (VehicleStopStateLog)

The VehicleStop state.

TaskInfoLog

Additional information about the task performed at this stop.

JSON representation
{
  "taskId": string,
  "taskDuration": string,
  "targetTimeWindow": {
    object (TimeWindowLog)
  }
}
Fields
taskId

string

The ID of the task.

taskDuration

string (Duration format)

The time required to perform the task.

A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".

targetTimeWindow

object (TimeWindowLog)

The time window during which the task should be completed.