Cloud Optimization V1 API - Class Google::Cloud::Optimization::V1::Vehicle::LoadLimit (v0.9.0)

Reference documentation and code samples for the Cloud Optimization V1 API class Google::Cloud::Optimization::V1::Vehicle::LoadLimit.

Defines a load limit applying to a vehicle, e.g. "this truck may only carry up to 3500 kg". See load_limits.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#cost_per_unit_above_soft_max

def cost_per_unit_above_soft_max() -> ::Float
Returns

#cost_per_unit_above_soft_max=

def cost_per_unit_above_soft_max=(value) -> ::Float
Parameter
Returns

#end_load_interval

def end_load_interval() -> ::Google::Cloud::Optimization::V1::Vehicle::LoadLimit::Interval
Returns

#end_load_interval=

def end_load_interval=(value) -> ::Google::Cloud::Optimization::V1::Vehicle::LoadLimit::Interval
Parameter
Returns

#max_load

def max_load() -> ::Integer
Returns
  • (::Integer) — The maximum acceptable amount of load.

#max_load=

def max_load=(value) -> ::Integer
Parameter
  • value (::Integer) — The maximum acceptable amount of load.
Returns
  • (::Integer) — The maximum acceptable amount of load.

#soft_max_load

def soft_max_load() -> ::Integer
Returns

#soft_max_load=

def soft_max_load=(value) -> ::Integer
Parameter
Returns

#start_load_interval

def start_load_interval() -> ::Google::Cloud::Optimization::V1::Vehicle::LoadLimit::Interval
Returns

#start_load_interval=

def start_load_interval=(value) -> ::Google::Cloud::Optimization::V1::Vehicle::LoadLimit::Interval
Parameter
Returns