Load
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
訪問時に、集荷の場合は事前定義された量が車両の積載量に加算され、配達の場合は減算されます。このメッセージでその金額を定義します。loadDemands
をご覧ください。
JSON 表現 |
{
"amount": string
} |
フィールド |
amount |
string (int64 format)
対応する訪問を実施する車両の負荷が増加する量は異なります。整数であるため、精度が失われることのないよう、適切な単位を選択することをおすすめします。0 以上である必要があります。
|
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-08-29 UTC。
[null,null,["最終更新日 2025-08-29 UTC。"],[[["\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. |"]]