location property
the location of the waypoint, You can specify waypoints using the following values: --- Latitude/longitude coordinates (lat/lng): an explicit value pair. (-34.92788%2C138.60008 comma, no space), --- Place ID: The unique value specific to a location. This value is only available only if the request includes an API key or Google Maps Platform Premium Plan client ID (ChIJGwVKWe5w44kRcr4b9E25-Go --- Address string (Charlestown, Boston,MA)
Implementation
String location;