pending_actions Transportation and Logistics documentation is being deprecated. The updated documentation is available on the
Mobility Services site.
PickupPointOrder
Stay organized with collections
Save and categorize content based on your preferences.
Value of the pickup point order.
Enums |
PICKUP_POINT_ORDER_UNSPECIFIED |
Pickup point order unspecified. Default to DISTANCE_FROM_ORIGIN. |
DISTANCE_FROM_SEARCH_LOCATION |
Ascending order of straight-line distance from the search location to the returned pickup point. |
WALKING_ETA_FROM_SEARCH_LOCATION |
Ascending order by the consumer's walking time from the search location to the pickup point. |
DRIVING_ETA_FROM_PICKUP_POINT_TO_DESTINATION |
Ascending order by driving ETA from pickup point to the consumer's destination. This mode can only be used when a destination is set and computeDrivingEta is true. When multiple travelModes are give in request, the ordering is based on the first travelMode in the request. |
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-11-04 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2022-11-04 UTC."],[[["Pickup point order determines how pickup point options are sorted for the user."],["Options for sorting include distance from search location, walking time, or driving time to the final destination."],["`DISTANCE_FROM_SEARCH_LOCATION` sorts pickup points based on straight-line distance from the search location."],["`WALKING_ETA_FROM_SEARCH_LOCATION` sorts pickup points by the estimated walking time from the search location."],["`DRIVING_ETA_FROM_PICKUP_POINT_TO_DESTINATION` sorts pickup points based on driving time to the final destination and requires a destination and driving ETA calculation."]]],[]]