struct

Google::Maps::RouteOptimization::Vehicle

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

Vehicle that can perform shipments in a route

Constructors

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

Instance methods

break_rule

Required break schedule

cost_per_hour

Cost per hour of operation

cost_per_kilometer

Cost per kilometer traveled

cost_per_traveled_hour

Cost per hour of travel time

display_name

Display name (up to 63 UTF-8 chars)

end_location

Ending location for the route

end_tags

Tags for the route end

end_time_windows

Time windows for arrival

end_waypoint

Ending waypoint for the route

extra_visit_duration_for_visit_type

Extra time per visit type

fixed_cost

Fixed cost if vehicle is used

ignore

Whether to skip this vehicle

label

Label for this vehicle

load_limits

Vehicle capacity limits

route_distance_limit

Total distance limits

route_duration_limit

Total route duration limits

route_modifiers

Route calculation conditions

start_location

Starting location for the route

start_tags

Tags for the route start

start_time_windows

Time windows for departure

start_waypoint

Starting waypoint for the route

travel_duration_limit

Travel time duration limits

travel_duration_multiple

Travel time multiplier

travel_mode

Travel mode affecting roads and speed

unloading_policy

Rules for unloading order

used_if_route_is_empty

Whether counted as used when empty