PickupPointResult

Details about a pickup point search result.

JSON representation
{
  "pickupPoint": {
    object (PickupPoint)
  },
  "distanceMeters": number,
  "travelDetails": [
    {
      object (TravelDetail)
    }
  ]
}
Fields
pickupPoint

object (PickupPoint)

The actual pickup point that matches the request.

distanceMeters

number

The straight-line distance from this pickup point to the searchLocation specified in the request.

travelDetails[]

object (TravelDetail)

The details associated with travel to and from this pickup point for each requested travel mode.

PickupPoint

Details about a pickup or dropoff point.

JSON representation
{
  "id": string,
  "displayName": string,
  "address": {
    object (Address)
  },
  "description": string,
  "location": {
    object (LatLng)
  }
}
Fields
id

string

A unique ID for the pickup point. Must be present.

displayName

string

Short, human-readable name of the pickup point. Localized as per preference provided in request.

address

object (Address)

Address of the pickup point.

description

string

A longer description of the pickup point, which may include how to get to the location.

location

object (LatLng)

Location of the pickup point; where a rider or receiver meets the driver. Must be present.

TravelDetail

The details associated with the travel.

JSON representation
{
  "travelMode": enum (TravelMode),
  "estimatedArrivalTime": string,
  "trafficRestriction": enum (TrafficRestriction)
}
Fields
travelMode

enum (TravelMode)

The travel mode under which the ETA is computed.

estimatedArrivalTime

string (Timestamp format)

The estimated time of arrival. Walking ETA is calculated from search location to pickup point location when computeWalkingEta is set in the request. Driving ETA is calculated from pickup point location to the destination for each non-pedestrian requested travel mode when computeDrivingEta and destination is set in the request. Driving ETA is calculated with traffic, and is NOT subject to congestion restrictions.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

trafficRestriction

enum (TrafficRestriction)

The restriction that applies to the travel mode.

TrafficRestriction

Value of the traffic restriction.

Enums
TRAFFIC_RESTRICTION_UNSPECIFIED The restriction is not unspecified.
NO_RESTRICTION No traffic restrictions are applied.
OTHER_RESTRICTION Some traffic restrictions may apply, such as the road is private or there is a fee to access associated location.