public sealed class Shipment.Types.Load : IMessage<Shipment.Types.Load>, IEquatable<Shipment.Types.Load>, IDeepCloneable<Shipment.Types.Load>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Optimization v1 API class Shipment.Types.Load.
When 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
[load_demands][google.cloud.optimization.v1.Shipment.load_demands].
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.
[[["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."],[[["This document provides reference information for the `Shipment.Types.Load` class within the Cloud Optimization v1 API, specifically for version 2.2.0."],["`Shipment.Types.Load` is used to define the amount added to or subtracted from a vehicle's load during a visit, as specified by `load_demands`."],["The `Load` class implements interfaces such as `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, indicating its role in data handling and messaging."],["It inherits from the base `object` class and has properties such as `Amount`, which represents the load variation with a value that must be zero or positive."],["The latest version of the documentation is 2.6.0 and this document provides links to past versions of the API all the way back to version 1.0.0-beta01."]]],[]]