Routes Preferred API 目前仅适用于部分客户。如需了解详情,请
与销售人员联系。
FallbackRouteObjective
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
枚举 |
FALLBACK_ROUTE_OBJECTIVE_UNSPECIFIED |
未指定回退路由目标。 |
FALLBACK_RATECARD_WITHOUT_TOLL_PRICE_DATA |
如果客户请求 RateCard 并将 includeTolls 设置为 true,但 Google 没有该路线的通行费数据,则该 API 会回退到 RateCard ,而不考虑通行费。 |
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-31。
[null,null,["最后更新时间 (UTC):2025-08-31。"],[[["\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. |"]]