Class Shipment.Types.Load (1.0.0-beta01)

public sealed class Load : IMessage<Shipment.Types.Load>, IEquatable<Shipment.Types.Load>, IDeepCloneable<Shipment.Types.Load>, IBufferMessage, IMessage

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(Shipment.Types.Load)

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

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
Int64