Google::Maps::RouteOptimization::LoadLimit
Inherits MessagePack::Serializable < JSON::Serializable < Google::Resource < Struct < Value < Object
Defines a load limit applying to a vehicle
Constructors
new(pull : JSON::PullParser)
new(pull : MessagePack::Unpacker)
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance methods
cost_per_unit_above_soft_max
Cost per unit when load exceeds soft_max_load
end_load_interval
Acceptable load interval at end of route
max_load
Maximum acceptable amount of load
soft_max_load
A soft limit of the load
start_load_interval
Acceptable load interval at start of route