struct Google::Maps::RouteOptimization::Transition
- Google::Maps::RouteOptimization::Transition
- Struct
- Value
- Object
Overview
Transition between two events on the route
Included Modules
- Google::Resource
- JSON::Serializable
- MessagePack::Serializable
Extended Modules
- JSON::Schema
Defined in:
maps.crConstructors
Instance Method Summary
-
#break_duration : String
Sum of the duration of the breaks occurring during this transition
-
#delay_duration : String
Sum of the delay durations applied to this transition
-
#route_polyline : EncodedPolyline | Nil
The encoded polyline representation of the route for this transition
-
#route_token : String | Nil
Navigation SDK route token
-
#start_time : Time
Start time of this transition
-
#total_duration : String
Total duration of the transition
-
#traffic_info_unavailable : Bool
Indicates if traffic info couldn't be retrieved when requested
-
#travel_distance_meters : Float64
Distance traveled during the transition
-
#travel_duration : String
Travel duration during this transition
-
#vehicle_loads : Hash(String, VehicleLoad)
Vehicle loads during this transition
-
#wait_duration : String
Time spent waiting during this transition
Macros inherited from module Google::Resource
define(name, *fields)
define,
field(var, key = nil, **options, &block)
field,
field!(var, key = nil, **options, &block)
field!,
field?(var, key = nil, **options, &block)
field?
Constructor Detail
Instance Method Detail
def route_polyline : EncodedPolyline | Nil
#
The encoded polyline representation of the route for this transition