ConsumableTrafficPolylineLog

車輛路徑上的交通密度。

JSON 表示法
{
  "speedReadingInterval": [
    {
      object (SpeedReadingIntervalLog)
    }
  ]
}
欄位
speedReadingInterval[]

object (SpeedReadingIntervalLog)

從上一個路線控點到目前路線點的路徑速度。

SpeedReadingIntervalLog

路徑連續段的交通密度指標。如果路徑包含點 P_0、P_1、...、P_N (以零為基礎的索引),SpeedReadingIntervalLog 會定義間隔,並使用以下類別描述流量。

JSON 表示法
{
  "startPolylinePointIndex": integer,
  "endPolylinePointIndex": integer,
  "speed": enum (Speed)
}
欄位
startPolylinePointIndex

integer

在路徑中這個間隔的起始索引,在 JSON 中,當索引為 0 時,該欄位會顯示為未填入欄位。

endPolylinePointIndex

integer

在路徑中這個間隔的結束索引。在 JSON 中,當索引為 0 時,該欄位會顯示為未填入欄位。

speed

enum (Speed)

這段時間的車流速度。