VehicleJourneySegmentLog

在 Deliveries API 中表示车辆从其上一个停靠站到当前停靠站的行程路段。

JSON 表示法
{
  "stop": {
    object (VehicleStopLog)
  },
  "drivingDistanceMeters": integer,
  "drivingDuration": string
}
字段
stop

object (VehicleStopLog)

指定实际停靠站位置以及与停靠站关联的任务。

drivingDistanceMeters

integer

从上一站到车辆停靠站的行程距离。

drivingDuration

string (Duration format)

从上一站到车辆停靠站的行程时间。

时长以秒为单位,最多包含九个小数位,以“s”结尾。示例:"3.5s"

VehicleStopLog

描述车辆在执行 Deliveries API 中的一个或多个任务的行程中需要停下来的时间点。

JSON 表示法
{
  "plannedLocation": {
    object (LocationInfoLog)
  },
  "tasks": [
    {
      object (TaskInfoLog)
    }
  ],
  "state": enum (VehicleStopStateLog)
}
字段
plannedLocation

object (LocationInfoLog)

经停点的位置。请注意,任务中的地点可能与此位置不完全匹配,但距离会很短。

tasks[]

object (TaskInfoLog)

要在此经停点执行的任务列表。

state

enum (VehicleStopStateLog)

VehicleStop 状态。

TaskInfoLog

有关在此经停点执行的任务的更多信息。

JSON 表示法
{
  "taskId": string,
  "taskDuration": string,
  "targetTimeWindow": {
    object (TimeWindowLog)
  }
}
字段
taskId

string

任务的 ID。

taskDuration

string (Duration format)

执行任务所需的时间。

时长以秒为单位,最多包含九个小数位,以“s”结尾。示例:"3.5s"

targetTimeWindow

object (TimeWindowLog)

应完成任务的时间范围。