TripWaypointLog

  • Waypoint represents a stopping or ending point on a vehicle's route, containing information about its location, trip association, and timing.

  • Each Waypoint includes details like location, distance from the previous waypoint, estimated time of arrival, and travel time.

  • The type field classifies the Waypoint's role within the trip, such as pickup or dropoff points.

Describes a stopping or ending point on a vehicle's route.

JSON representation
{
  "location": {
    object (TerminalLocationLog)
  },
  "tripId": string,
  "distanceMeters": integer,
  "eta": string,
  "duration": string,
  "type": enum (WaypointTypeLog)
}
Fields
location

object (TerminalLocationLog)

The waypoint's location.

tripId

string

The trip that includes this waypoint.

distanceMeters

integer

The path distance from the previous waypoint to this waypoint. If this is the first waypoint, the path distance is from the vehicle's current location to the waypoint.

eta

string (Timestamp format)

The estimated time of arrival at this waypoint.

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: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

duration

string (Duration format)

The travel time from the previous waypoint to this waypoint. If this is the first waypoint, the travel time is from the vehicle's current location to the waypoint.

A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".

type

enum (WaypointTypeLog)

The type that describes the role the waypoint plays for this trip, such as a pickup or dropoff.