VehicleJourneySegmentLog

代表 Deliveries API 中從前一個停靠站到目前停靠站的車輛行駛路段。

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

object (VehicleStopLog)

指定實際的停靠站位置以及與停靠站相關的工作。

drivingDistanceMeters

integer

從前一個停靠站到車輛停靠站的行駛距離。

drivingDuration

string (Duration format)

從前一個停靠站到車輛停靠站的行駛時間。

持續時間以秒為單位,最多 9 個小數位數,結尾為「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)

執行工作所需的時間。

持續時間以秒為單位,最多 9 個小數位數,結尾為「s」,例如:"3.5s"

targetTimeWindow

object (TimeWindowLog)

應完成工作的時間範圍。