SpeedReadingInterval

ポリラインまたはパスの連続するセグメント上の交通密度インジケーター。SpeedReadingInterval は、ポイント P_0、P_1、...、P_N(ゼロベースのインデックス)を含むパスに対して、間隔を定義し、次のカテゴリを使用してそのトラフィックを記述します。

JSON 表現
{
  "startPolylinePointIndex": integer,
  "endPolylinePointIndex": integer,

  // Union field speed_type can be only one of the following:
  "speed": enum (Speed)
  // End of list of possible types for union field speed_type.
}
フィールド
startPolylinePointIndex

integer

ポリライン内のこの区間の開始インデックス。

endPolylinePointIndex

integer

ポリライン内のこの区間の終了インデックス。

共用体フィールド speed_type

speed_type は次のいずれかになります。

speed

enum (Speed)

この間隔のトラフィック速度。

スピード

交通データに基づくポリラインの速度の分類。

列挙型
SPEED_UNSPECIFIED デフォルト値。この値は使用されません。
NORMAL 通常の速度です。減速は検出されません。
SLOW 渋滞は検出されましたが、渋滞は発生しませんでした。
TRAFFIC_JAM 交通渋滞が検出されました。