TerminalLocation

說明路線控點的位置。

JSON 表示法
{
  "point": {
    object (LatLng)
  },
  "place": string,
  "pointLocationSource": enum (PointSource),
  "terminalPointId": {
    object (TerminalPointId)
  },
  "accessPointId": string,
  "tripId": string,
  "terminalLocationType": enum (WaypointType)
}
欄位
point

object (LatLng)

表示路線控點的確切 LatLng。必須指定 pointplace 做為輸入內容。如果同時指定這兩個值,系統會使用 point 進行路由,並使用 place 處理中繼資料。如果只指定 place 做為輸入值,系統會從 place 計算 point,並將其納入輸出內容。

place

string

代表此位置的場景資源名稱。格式為 places/{placeId}。必須指定 pointplace 做為輸入內容。如果同時指定這兩個值,系統會使用 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

指出 LatLng 的來源。

列舉
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

已淘汰。