Describes a stopping point on a vehicle's route or an ending point on a vehicle's trip.
JSON representation |
---|
{ "location": { object ( |
Fields | |
---|---|
location |
The location of this waypoint. |
trip |
The trip associated with this waypoint. |
waypoint |
The role this waypoint plays in this trip, such as pickup or dropoff. |
path |
The path from the previous waypoint to the current waypoint. Undefined for the first waypoint in a list. This field is only populated when requested. |
encoded |
The encoded path from the previous waypoint to the current waypoint. Note: This field is intended only for use by the Driver SDK and Consumer SDK. Decoding is not yet supported. |
traffic |
The traffic conditions along the path to this waypoint. Note that traffic is only available for Google Map Platform Rides and Deliveries Solution customers. |
distance |
The path distance from the previous waypoint to the current waypoint. Undefined for the first waypoint in a list. |
eta |
The estimated time of arrival at this waypoint. Undefined for the first waypoint in a list. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
duration |
The travel time from previous waypoint to this point. Undefined for the first waypoint in a list. A duration in seconds with up to nine fractional digits, ending with ' |