Deliveries API 中的 DeliveryVehicle 資源記錄。
JSON 表示法 |
---|
{ "name": string, "lastLocation": { object ( |
欄位 | |
---|---|
name |
運送車輛資源名稱,格式為 |
lastLocation |
車輛上次回報的位置。 |
navigationStatus |
外送車輛的導航狀態。 |
remainingDistanceMeters |
|
remainingDuration |
持續時間以秒為單位,最多 9 個小數位數,結尾為「 |
remainingVehicleJourneySegments[] |
指派給這輛車的其餘旅程路段。 |
attributes[] |
自訂運送車輛屬性清單。每個屬性都有專屬金鑰。 |
DeliveryVehicleAttributeLog
將車輛屬性描述為鍵/值組合。
JSON 表示法 |
---|
{ "key": string, "value": string, // Union field |
欄位 | |
---|---|
key |
屬性的鍵,例如 |
value |
屬性的值,例如 |
聯集欄位 delivery_vehicle_attribute_value 。屬性值可以是字串、布林值或雙精度浮點數類型。delivery_vehicle_attribute_value 只能是下列其中一項: |
|
stringValue |
字串類型的屬性值。 |
boolValue |
布林值的輸入屬性值。 |
numberValue |
雙重輸入屬性值。 |