Details about a pickup point search result.
JSON representation |
---|
{ "pickupPoint": { object ( |
Fields | |
---|---|
pickupPoint |
The actual pickup point that matches the request. |
distanceMeters |
The straight-line distance from this pickup point to the searchLocation specified in the request. |
travelDetails[] |
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 ( |
Fields | |
---|---|
id |
A unique ID for the pickup point. Must be present. |
displayName |
Short, human-readable name of the pickup point. Localized as per preference provided in request. |
address |
Address of the pickup point. |
description |
A longer description of the pickup point, which may include how to get to the location. |
location |
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 ( |
Fields | |
---|---|
travelMode |
The travel mode under which the ETA is computed. |
estimatedArrivalTime |
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: |
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. |