Google::Maps::RouteOptimization::Transition
Inherits MessagePack::Serializable < JSON::Serializable < Google::Resource < Struct < Value < Object
Transition between two events on the route
Constructors
new(pull : JSON::PullParser)
new(pull : MessagePack::Unpacker)
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance methods
break_duration
Sum of the duration of the breaks occurring during this transition
delay_duration
Sum of the delay durations applied to this transition
route_polyline
The encoded polyline representation of the route for this transition
route_token
Navigation SDK route token
start_time
Start time of this transition
total_duration
Total duration of the transition
travel_distance_meters
Distance traveled during the transition
travel_duration
Travel duration during this transition
vehicle_loads
Vehicle loads during this transition
wait_duration
Time spent waiting during this transition