Cloud Optimization v1 API - Class Shipment.Types.Load (2.5.0)

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].

Inheritance

object > Shipment.Types.Load

Namespace

Google.Cloud.Optimization.V1

Assembly

Google.Cloud.Optimization.V1.dll

Constructors

Load()

public Load()

Load(Load)

public Load(Shipment.Types.Load other)
Parameter
NameDescription
otherShipmentTypesLoad

Properties

Amount

public long Amount { get; set; }

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.

Property Value
TypeDescription
long