Routes Preferred API is currently available only to select customers.
Contact sales to learn more.
FallbackRouteObjective
Stay organized with collections
Save and categorize content based on your preferences.
RouteObjective used for the response.
Enums |
FALLBACK_ROUTE_OBJECTIVE_UNSPECIFIED |
Fallback route objective unspecified. |
FALLBACK_RATECARD_WITHOUT_TOLL_PRICE_DATA |
If customer requests RateCard and sets includeTolls to true, and Google does not have toll price data for the route, the API falls back to RateCard without considering toll price. |
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 2025-08-27 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 2025-08-27 UTC."],[[["\u003cp\u003e\u003ccode\u003eRouteObjective\u003c/code\u003e is used to specify the objective for fallback routes in the response.\u003c/p\u003e\n"],["\u003cp\u003eWhen requesting \u003ccode\u003eRateCard\u003c/code\u003e with tolls included, if toll price data is unavailable, the API falls back to providing a \u003ccode\u003eRateCard\u003c/code\u003e that does not consider toll prices.\u003c/p\u003e\n"]]],[],null,["# FallbackRouteObjective\n\nRouteObjective used for the response.\n\n| Enums ||\n|---------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `FALLBACK_ROUTE_OBJECTIVE_UNSPECIFIED` | Fallback route objective unspecified. |\n| `FALLBACK_RATECARD_WITHOUT_TOLL_PRICE_DATA` | If customer requests `RateCard` and sets includeTolls to true, and Google does not have toll price data for the route, the API falls back to `RateCard` without considering toll price. |"]]