Load
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
執行訪問時,如果是接送,系統可能會在車輛負載中加上預先定義的金額;如果是送貨,則會從車輛負載中扣除該金額。這則訊息會定義這筆金額。詳情請參閱《loadDemands
》。
JSON 表示法 |
{
"amount": string
} |
欄位 |
amount |
string (int64 format)
執行相應造訪記錄的車輛負載量有所不同。由於這是整數,建議使用者選擇適當的單位,以免精確度降低。必須大於 0。
|
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-29 (世界標準時間)。
[null,null,["上次更新時間:2025-08-29 (世界標準時間)。"],[[["\u003cp\u003eThis message defines an amount that will be added to or subtracted from a vehicle's load during a visit.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eamount\u003c/code\u003e field, a string in int64 format, specifies the load variation.\u003c/p\u003e\n"],["\u003cp\u003eThe amount is an integer and must be greater than or equal to 0.\u003c/p\u003e\n"],["\u003cp\u003eAppropriate unit selection is advised to avoid precision loss due to integer usage.\u003c/p\u003e\n"]]],[],null,["# Load\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nWhen performing a visit, a predefined amount may be added to the vehicle load if it's a pickup, or subtracted if it's a delivery. This message defines such amount. See [loadDemands](/maps/tt/route-optimization/experimental/load-cost/reference/rest/v1/ShipmentModel#Shipment.FIELDS.load_demands).\n\n| JSON representation |\n|------------------------------|\n| ``` { \"amount\": string } ``` |\n\n| Fields ||\n|----------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `amount` | `string (`[int64](https://developers.google.com/discovery/v1/type-format)` format)` The amount by which the load of the vehicle performing the corresponding visit will vary. Since it is an integer, users are advised to choose an appropriate unit to avoid loss of precision. Must be ≥ 0. |"]]