Google::Maps::RouteOptimization::DurationLimit
Inherits MessagePack::Serializable < JSON::Serializable < Google::Resource < Struct < Value < Object
Duration limit configuration
Constructors
new(pull : JSON::PullParser)
new(pull : MessagePack::Unpacker)
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance methods
cost_per_hour_after_soft_max
Cost per hour over soft max
cost_per_square_hour_after_quadratic_soft_max
Cost per square hour over quadratic soft max
max_duration
Hard maximum duration limit
quadratic_soft_max_duration
Soft max for quadratic cost increase
soft_max_duration
Soft maximum duration with associated cost