Cloud Optimization v1 API - Class ShipmentRoute.Types.VehicleLoad (2.0.0)

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

Inheritance

Object > ShipmentRoute.Types.VehicleLoad

Namespace

Google.Cloud.Optimization.V1

Assembly

Google.Cloud.Optimization.V1.dll

Constructors

VehicleLoad()

public VehicleLoad()

VehicleLoad(ShipmentRoute.Types.VehicleLoad)

public VehicleLoad(ShipmentRoute.Types.VehicleLoad other)
Parameter
NameDescription
otherShipmentRoute.Types.VehicleLoad

Properties

Amount

public long Amount { get; set; }

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

Property Value
TypeDescription
Int64