public sealed class ShipmentRoute.Types.VehicleLoad : IMessage<ShipmentRoute.Types.VehicleLoad>, IEquatable<ShipmentRoute.Types.VehicleLoad>, IDeepCloneable<ShipmentRoute.Types.VehicleLoad>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Optimization v1 API class ShipmentRoute.Types.VehicleLoad.
Reports the actual load of the vehicle at some point along the route,
for a given type (see
[Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads]).
The amount of load on the vehicle, for the given type. The unit of load
is usually indicated by the type. See
[Transition.vehicle_loads][google.cloud.optimization.v1.ShipmentRoute.Transition.vehicle_loads].
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis documentation provides details for the \u003ccode\u003eShipmentRoute.Types.VehicleLoad\u003c/code\u003e class within the Google Cloud Optimization v1 API, highlighting its role in reporting the actual load of a vehicle during a route.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eShipmentRoute.Types.VehicleLoad\u003c/code\u003e inherits from \u003ccode\u003eobject\u003c/code\u003e and implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, ensuring compatibility and functionality within the .NET ecosystem.\u003c/p\u003e\n"],["\u003cp\u003eThe primary functionality of \u003ccode\u003eVehicleLoad\u003c/code\u003e involves tracking the load amount on the vehicle using the \u003ccode\u003eAmount\u003c/code\u003e property, which is of type \u003ccode\u003elong\u003c/code\u003e and represents a numerical value associated with the load type.\u003c/p\u003e\n"],["\u003cp\u003eThis class has two constructors: a default \u003ccode\u003eVehicleLoad()\u003c/code\u003e and an overloaded constructor \u003ccode\u003eVehicleLoad(ShipmentRoute.Types.VehicleLoad other)\u003c/code\u003e that allows for creating an instance based on an existing \u003ccode\u003eVehicleLoad\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eMultiple versions of this reference documentation are available, ranging from version \u003ccode\u003e1.0.0-beta01\u003c/code\u003e to the latest version \u003ccode\u003e2.6.0\u003c/code\u003e, indicating ongoing updates and enhancements to the API.\u003c/p\u003e\n"]]],[],null,[]]