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)

完成工作的時間範圍。