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

ระบุแหล่งที่มาของ LatLng

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

เลิกใช้งานแล้ว