struct

Google::Maps::RouteOptimization::DistanceLimit

Inherits MessagePack::Serializable < JSON::Serializable < Google::Resource < Struct < Value < Object

Distance limit configuration

Constructors

new(pull : JSON::PullParser)
new(*, __pull_for_json_serializable pull : JSON::PullParser)

Instance methods

cost_per_kilometer_above_soft_max

Cost per km over soft max

cost_per_kilometer_below_soft_max

Cost per km under soft max

max_meters

Hard maximum distance in meters

soft_max_meters

Soft maximum distance in meters