TerminalLocation
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
JSON 表示法 |
{
"point": {
object (LatLng )
},
"place": string,
"pointLocationSource": enum (PointSource ),
"terminalPointId": {
object (TerminalPointId )
},
"accessPointId": string,
"tripId": string,
"terminalLocationType": enum (WaypointType )
} |
字段 |
point |
object (LatLng )
表示航点的确切 LatLng 。必须将 point 或 place 指定为输入。如果这两者都被指定了,系统会将 point 用于路由,并将 place 用于元数据。如果仅指定 place 作为输入,系统会根据 place 计算 point ,并将其包含在输出中。
|
place |
string
代表此位置的地点的资源名称。格式为 places/{placeId} 。必须将 point 或 place 指定为输入。如果这两者都被指定了,系统会将 point 用于路由,并将 place 用于元数据。只有在输入中包含 place 时,输出中才会包含 place ,这意味着系统不会从 LatLng 执行 place 查找。 这是一项实验性功能。
|
pointLocationSource |
enum (PointSource )
仅限输出。point 字段的来源。
|
terminalPointId (deprecated) |
object (TerminalPointId )
已废弃:请改为指定 place 字段。
|
accessPointId (deprecated) |
string
已废弃:请改为指定 place 字段。
|
tripId (deprecated) |
string
已弃用。
|
terminalLocationType (deprecated) |
enum (WaypointType )
已废弃:Vehicle.waypoint 将包含此数据。
|
PointSource
枚举 |
POINT_SOURCE_UNSPECIFIED |
未指定点源。 |
POINT_SOURCE_DEVELOPER_PROVIDED |
LatLng 由开发者明确提供。 |
POINT_SOURCE_CALCULATED_FROM_PLACE |
LatLng 是根据所提供的地点计算得出的。 |
TerminalPointId
已废弃:车队引擎不再支持 TerminalPoint。请改用 TerminalLocation.point
。
JSON 表示法 |
{
"value": string,
// Union field Id can be only one of the following:
"placeId": string,
"generatedId": string
// End of list of possible types for union field Id .
} |
字段 |
value (deprecated) |
string
已弃用。
|
联合字段 Id 。已弃用。Id 只能是下列其中一项: |
placeId (deprecated) |
string
已弃用。
|
generatedId (deprecated) |
string
已弃用。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-31。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-31。"],[[["\u003cp\u003eWaypoint location is described using the \u003ccode\u003epoint\u003c/code\u003e field, represented by a LatLng object.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eterminalPointId\u003c/code\u003e, \u003ccode\u003eaccessPointId\u003c/code\u003e, \u003ccode\u003etripId\u003c/code\u003e, and \u003ccode\u003eterminalLocationType\u003c/code\u003e fields are deprecated and should no longer be used.\u003c/p\u003e\n"],["\u003cp\u003eInstead of \u003ccode\u003eTerminalPointId\u003c/code\u003e, use \u003ccode\u003eTerminalLocation.point\u003c/code\u003e to specify location.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTerminalPointId\u003c/code\u003e and its associated fields (\u003ccode\u003evalue\u003c/code\u003e, \u003ccode\u003eplaceId\u003c/code\u003e, \u003ccode\u003egeneratedId\u003c/code\u003e) are deprecated and no longer supported.\u003c/p\u003e\n"]]],[],null,[]]