SpeedReadingInterval

折线或路径的连续路段上的交通密度指标。给定一条路径,其中包含点 P_0、P_1、...、P_N(从零开始的索引),SpeedReadingInterval 定义了一个时间间隔,并使用以下类别描述了该时间间隔内的交通状况。

JSON 表示法
{
  "startPolylinePointIndex": integer,
  "endPolylinePointIndex": integer,

  // The following is a list of mutually exclusive fields. At most one of the
  // fields will be set in a response:
  "speed": enum (Speed)
  // End of mutually exclusive fields.
}
字段
startPolylinePointIndex

integer

此时间间隔在折线中的起始索引。

endPolylinePointIndex

integer

此时间间隔在折线中的结束索引。

此时间间隔内的速度类型。以下是互斥字段的列表。在响应中,最多只能设置一个字段:
speed

enum (Speed)

此时间间隔内的交通速度。

互斥字段结束。

速度

根据交通数据对折线速度进行分类。

枚举
SPEED_UNSPECIFIED 默认值。此值未使用。
NORMAL 正常速度,无交通拥堵。
SLOW 检测到减速,车流量中等。
TRAFFIC_JAM 交通拥堵。