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 दिया गया है, तो point का हिसाब place से लगाया जाएगा और उसे आउटपुट में शामिल किया जाएगा.
|
place |
string
इस जगह की जानकारी देने वाले संसाधन का नाम. फ़ॉर्मैट places/{placeId} है. इनपुट के तौर पर point या place में से किसी एक की जानकारी देना ज़रूरी है. अगर दोनों की जानकारी दी गई है, तो point का इस्तेमाल रूटिंग के लिए और 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
LatLng
के सोर्स के बारे में बताता है.
Enums |
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
समर्थन नहीं होना या रुकना.
|
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-08-31 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-08-31 (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,["# TerminalLocation\n\n- [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\n-----------\n\nIndicates 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---------------\n\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. |"]]