Load
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
店舗訪問の際には、車両の積荷量に、集荷の場合は事前に設定した金額が加算され、配達の場合は積算額が差し引かれます。このメッセージはこのような金額を定義します。loadDemands
をご覧ください。
JSON 表現 |
{
"amount": string
} |
フィールド |
amount |
string (int64 format)
対応する訪問を実行する車両の積載量は、変動します。整数値であるため、精度の低下を避けるために適切な単位を選択することをおすすめします。0 以上にする必要があります。
|
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-08-31 UTC。
[null,null,["最終更新日 2025-08-31 UTC。"],[[["\u003cp\u003eThe \u003ccode\u003eShipment.Load\u003c/code\u003e message defines the amount added or subtracted from a vehicle's load during a pickup or delivery.\u003c/p\u003e\n"],["\u003cp\u003eThis amount is represented by the \u003ccode\u003eamount\u003c/code\u003e field in the JSON representation, which is a string formatted as an \u003ccode\u003eint64\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eamount\u003c/code\u003e value must be non-negative and users should choose an appropriate unit to maintain precision.\u003c/p\u003e\n"],["\u003cp\u003eRefer to \u003ccode\u003eloadDemands\u003c/code\u003e for how this message is used within the broader context of route optimization.\u003c/p\u003e\n"]]],["The provided content describes the \"amount\" field within a JSON representation used for vehicle load adjustments during visits. This \"amount\" is a string representing an integer that modifies a vehicle's load. During a pickup, the amount is added, and during a delivery, it's subtracted. The amount must be greater than or equal to zero. The content advises users to select an appropriate unit of measure for precision, given that this is an integer.\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/documentation/route-optimization/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. |"]]