Reference documentation and code samples for the Google Cloud Optimization V1 Client class VehicleLoad.
Reports the actual load of the vehicle at some point along the route, for a given type (see Transition.vehicle_loads ).
Generated from protobuf message google.cloud.optimization.v1.ShipmentRoute.VehicleLoad
Namespace
Google \ Cloud \ Optimization \ V1 \ ShipmentRouteMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ amount
int|string
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 .
getAmount
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 .
int|string
setAmount
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 .
var
int|string
$this