Waypoint

Encapsulates a waypoint. Waypoints mark both the beginning and end of a route.

JSON representation
{

  // The following is a list of mutually exclusive fields. At most one of the
  // fields will be set in a response:
  "latLng": {
    object (LatLng)
  },
  "placeId": string,
  "address": string
  // End of mutually exclusive fields.
}
Fields
Different ways to represent a location. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response:
latLng

object (LatLng)

A point specified using geographic coordinates.

placeId

string

The Place ID associated with the waypoint.

address

string

Human readable address or a plus code. See https://plus.codes for details.

End of mutually exclusive fields.