Describes a stopping or ending point on a vehicle's route.
JSON representation |
---|
{ "location": { object ( |
Fields | |
---|---|
location |
The waypoint's location. |
trip |
The trip that includes this waypoint. |
distance |
The path distance from the previous waypoint to this 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. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
duration |
The travel time from the 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 ' |
type |
The type that describes the role the waypoint plays for this trip, such as a pickup or dropoff. |