struct Google::Maps::RouteOptimization::Vehicle
- Google::Maps::RouteOptimization::Vehicle
- Struct
- Value
- Object
Overview
Vehicle that can perform shipments in a route
Included Modules
- Google::Resource
- JSON::Serializable
- MessagePack::Serializable
Extended Modules
- JSON::Schema
Defined in:
maps.crConstructors
Instance Method Summary
-
#break_rule : BreakRule | Nil
Required break schedule
-
#cost_per_hour : Float64 | Nil
Cost per hour of operation
-
#cost_per_kilometer : Float64 | Nil
Cost per kilometer traveled
-
#cost_per_traveled_hour : Float64 | Nil
Cost per hour of travel time
-
#display_name : String | Nil
Display name (up to 63 UTF-8 chars)
-
#end_location : LatLng | Nil
Ending location for the route
-
#end_tags : Array(String)
Tags for the route end
-
#end_time_windows : Array(TimeWindow)
Time windows for arrival
-
#end_waypoint : Waypoint | Nil
Ending waypoint for the route
-
#extra_visit_duration_for_visit_type : Hash(String, String)
Extra time per visit type
-
#fixed_cost : Float64 | Nil
Fixed cost if vehicle is used
-
#ignore : Bool | Nil
Whether to skip this vehicle
-
#label : String | Nil
Label for this vehicle
-
#load_limits : Hash(String, LoadLimit)
Vehicle capacity limits
-
#route_distance_limit : DistanceLimit | Nil
Total distance limits
-
#route_duration_limit : DurationLimit | Nil
Total route duration limits
-
#route_modifiers : RouteModifiers | Nil
Route calculation conditions
-
#start_location : LatLng | Nil
Starting location for the route
-
#start_tags : Array(String)
Tags for the route start
-
#start_time_windows : Array(TimeWindow)
Time windows for departure
-
#start_waypoint : Waypoint | Nil
Starting waypoint for the route
-
#travel_duration_limit : DurationLimit | Nil
Travel time duration limits
-
#travel_duration_multiple : Float64 | Nil
Travel time multiplier
-
#travel_mode : TravelMode
Travel mode affecting roads and speed
-
#unloading_policy : UnloadingPolicy
Rules for unloading order
-
#used_if_route_is_empty : Bool | Nil
Whether counted as used when empty