Load
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Podczas wizyty w przypadku odbioru ładunku do pojazdu może zostać dodana zdefiniowana kwota, a w przypadku dostawy – odjęta. Tę kwotę definiuje ten komunikat. Zobacz loadDemands
.
Zapis JSON |
{
"amount": string
} |
Pola |
amount |
string (int64 format)
Obciążenie pojazdu podczas danej wizyty, które będzie się zmieniać. Ponieważ jest to liczba całkowita, zalecamy wybranie odpowiedniej jednostki, aby uniknąć utraty dokładności. Wartość musi być większa lub równa 0.
|
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-08-29 UTC.
[null,null,["Ostatnia aktualizacja: 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. |"]]