Cloud Optimization V1 API - Class Google::Cloud::Optimization::V1::ShipmentRoute::VehicleLoad (v0.4.1)

Reference documentation and code samples for the Cloud Optimization V1 API class Google::Cloud::Optimization::V1::ShipmentRoute::VehicleLoad.

Reports the actual load of the vehicle at some point along the route, for a given type (see Transition.vehicle_loads).

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#amount

def amount() -> ::Integer
Returns
  • (::Integer) — 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.

#amount=

def amount=(value) -> ::Integer
Parameter
  • value (::Integer) — 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.
Returns
  • (::Integer) — 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.