public sealed class 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\u003eThe \u003ccode\u003eVehicleLoad\u003c/code\u003e class within the Cloud Optimization v1 API represents the actual load of a vehicle at a specific point along its route, based on a defined load type.\u003c/p\u003e\n"],["\u003cp\u003eThis class is part of the \u003ccode\u003eGoogle.Cloud.Optimization.V1\u003c/code\u003e namespace and is found in the \u003ccode\u003eGoogle.Cloud.Optimization.V1.dll\u003c/code\u003e assembly, with the current page being on the 2.1.0 version.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eVehicleLoad\u003c/code\u003e inherits from \u003ccode\u003eObject\u003c/code\u003e and implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, providing functionalities like message handling, equality checks, deep cloning, and buffer message support.\u003c/p\u003e\n"],["\u003cp\u003eYou can construct a \u003ccode\u003eVehicleLoad\u003c/code\u003e object using either a default constructor or one that accepts another \u003ccode\u003eVehicleLoad\u003c/code\u003e instance as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe amount of load on the vehicle for a given type can be accessed or modified via the \u003ccode\u003eAmount\u003c/code\u003e property, which is a long type.\u003c/p\u003e\n"]]],[],null,[]]