RouteTravelAdvisory
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
包含应通知用户的其他信息,例如可能的交通区域限制。
JSON 表示法 |
{
"tollInfo": {
object (TollInfo )
},
"speedReadingIntervals": [
{
object (SpeedReadingInterval )
}
],
"fuelConsumptionMicroliters": string,
"routeRestrictionsPartiallyIgnored": boolean,
"transitFare": {
object (Money )
}
} |
字段 |
tollInfo |
object (TollInfo )
包含路线收费站的相关信息。仅当预计路线上需要收费时,系统才会填充此字段。如果设置了此字段,但未填充 estimatedPrice 子字段,则表示路线包含收费站,但估算价格未知。如果未设置此字段,则路线上预计不会收费。
|
speedReadingIntervals[] |
object (SpeedReadingInterval )
详细说明交通密度的速度读取间隔。在 TRAFFIC_AWARE 和 TRAFFIC_AWARE_OPTIMAL 路由偏好设置的情况下适用。间隔覆盖了路线的整个多段线,且不重叠。指定间隔的起点与前一个间隔的终点相同。 例如:
polyline: A ---- B ---- C ---- D ---- E ---- F ---- G
speedReadingIntervals: [A,C), [C,D), [D,G).
|
fuelConsumptionMicroliters |
string (int64 format)
预计的燃料消耗量(以微升为单位)。
|
routeRestrictionsPartiallyIgnored |
boolean
返回的路线可能包含不适合请求的出行方式或路线修饰符的限制。
|
transitFare |
object (Money )
如果存在,则包含该路线的总票价或车票费用。此属性仅针对 TRANSIT 请求返回,并且仅适用于所有公交路段都有票价信息的路线。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-06-26。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"没有我需要的信息"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"太复杂/步骤太多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"内容需要更新"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/代码问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]
{
"last_modified": "最后更新时间 (UTC):2024-06-26。",
"state": ""
}