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 เป็นอินพุต หากระบุทั้ง 2 รายการ ระบบจะใช้ point สำหรับการกําหนดเส้นทาง และ place จะใช้สําหรับข้อมูลเมตา หากระบุเฉพาะ place เป็นอินพุต ระบบจะคํานวณ point จาก place และรวมไว้ในเอาต์พุต
|
place |
string
ชื่อทรัพยากรของสถานที่ที่แสดงถึงสถานที่นี้ รูปแบบคือ places/{placeId} ต้องระบุ point หรือ place เป็นอินพุต หากระบุทั้ง 2 รายการ ระบบจะใช้ point สำหรับการกําหนดเส้นทาง และ place จะใช้สําหรับข้อมูลเมตา place จะรวมอยู่ในเอาต์พุตก็ต่อเมื่อรวมอยู่ในอินพุตเท่านั้น ซึ่งหมายความว่าไม่มีการค้นหา place จาก LatLng นี่เป็นฟีเจอร์ทดลองใช้
|
pointLocationSource |
enum (PointSource )
เอาต์พุตเท่านั้น แหล่งที่มาของฟิลด์ point
|
terminalPointId (deprecated) |
object (TerminalPointId )
เลิกใช้งานแล้ว: โปรดระบุช่อง place แทน
|
accessPointId (deprecated) |
string
เลิกใช้งานแล้ว: โปรดระบุช่อง place แทน
|
tripId (deprecated) |
string
เลิกใช้งานแล้ว
|
terminalLocationType (deprecated) |
enum (WaypointType )
เลิกใช้งานแล้ว: Vehicle.waypoint จะมีข้อมูลนี้
|
PointSource
Enum |
POINT_SOURCE_UNSPECIFIED |
ไม่ได้ระบุแหล่งที่มาของจุด |
POINT_SOURCE_DEVELOPER_PROVIDED |
นักพัฒนาแอประบุ LatLng อย่างชัดเจน |
POINT_SOURCE_CALCULATED_FROM_PLACE |
LatLng คำนวณจากสถานที่ที่ระบุ |
TerminalPointId
เลิกใช้งานแล้ว: Fleet Engine ไม่รองรับ TerminalPoints อีกต่อไป ให้ใช้ 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 Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-27 UTC
[null,null,["อัปเดตล่าสุด 2025-07-27 UTC"],[[["\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,["- [JSON representation](#SCHEMA_REPRESENTATION)\n- [PointSource](#PointSource)\n- [TerminalPointId](#TerminalPointId)\n - [JSON representation](#TerminalPointId.SCHEMA_REPRESENTATION)\n\nDescribes the location of a waypoint.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"point\": { object (/maps/documentation/mobility/fleet-engine/reference/trips/rest/v1/LatLng) }, \"place\": string, \"pointLocationSource\": enum (/maps/documentation/mobility/fleet-engine/reference/trips/rest/v1/TerminalLocation#PointSource), \"terminalPointId\": { object (/maps/documentation/mobility/fleet-engine/reference/trips/rest/v1/TerminalLocation#TerminalPointId) }, \"accessPointId\": string, \"tripId\": string, \"terminalLocationType\": enum (/maps/documentation/mobility/fleet-engine/reference/trips/rest/v1/WaypointType) } ``` |\n\n| Fields ||\n|-----------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `point` | `object (`[LatLng](/maps/documentation/mobility/fleet-engine/reference/trips/rest/v1/LatLng)`)` Denotes the exact `LatLng` of the waypoint. Either `point` or `place` must be specified as input. If both are specified, `point` will be used for routing and `place` will be used for metadata. If only `place` is specified as input, `point` will be calculated from the `place` and included in the output. |\n| `place` | `string` The resource name of the place that represents this location. The format is `places/{placeId}`. Either `point` or `place` must be specified as input. If both are specified, `point` will be used for routing and `place` will be used for metadata. `place` is only included in the output if it was included in the input, meaning that there is no `place` lookup from `LatLng` performed. This is an experimental feature. |\n| `pointLocationSource` | `enum (`[PointSource](/maps/documentation/mobility/fleet-engine/reference/trips/rest/v1/TerminalLocation#PointSource)`)` Output only. The source of the `point` field. |\n| `terminalPointId` **(deprecated)** | `object (`[TerminalPointId](/maps/documentation/mobility/fleet-engine/reference/trips/rest/v1/TerminalLocation#TerminalPointId)`)` | This item is deprecated! Deprecated: Specify the `place` field instead. |\n| `accessPointId` **(deprecated)** | `string` | This item is deprecated! Deprecated: Specify the `place` field instead. |\n| `tripId` **(deprecated)** | `string` | This item is deprecated! Deprecated. |\n| `terminalLocationType` **(deprecated)** | `enum (`[WaypointType](/maps/documentation/mobility/fleet-engine/reference/trips/rest/v1/WaypointType)`)` | This item is deprecated! Deprecated: `Vehicle.waypoint` will have this data. |\n\nPointSource Indicates the source of a `LatLng`.\n\n| Enums ||\n|--------------------------------------|--------------------------------------------------------|\n| `POINT_SOURCE_UNSPECIFIED` | Point source unspecified. |\n| `POINT_SOURCE_DEVELOPER_PROVIDED` | The `LatLng` was explicitly provided by the developer. |\n| `POINT_SOURCE_CALCULATED_FROM_PLACE` | The `LatLng` was calculated from the provided place. |\n\nTerminalPointId\n| This item is deprecated!\nDeprecated: TerminalPoints are no longer supported in Fleet Engine. Use `TerminalLocation.point` instead.\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"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`. } ``` |\n\n| Fields ||\n|--------------------------------|-------------------------------------------------|\n| `value` **(deprecated)** | `string` | This item is deprecated! Deprecated. |\n| Union field `Id`. Deprecated. `Id` can be only one of the following: ||\n| `placeId` **(deprecated)** | `string` | This item is deprecated! Deprecated. |\n| `generatedId` **(deprecated)** | `string` | This item is deprecated! Deprecated. |"]]