TripWaypoint
車両のルートの停車地点または車両のルートの終点を表します。
JSON 表現 |
{
"location": {
object (TerminalLocation )
},
"tripId": string,
"waypointType": enum (WaypointType ),
"pathToWaypoint": [
{
object (LatLng )
}
],
"encodedPathToWaypoint": string,
"trafficToWaypoint": {
object (ConsumableTrafficPolyline )
},
"distanceMeters": integer,
"eta": string,
"duration": string
} |
フィールド |
location |
object (TerminalLocation )
このウェイポイントの位置。
|
tripId |
string
このウェイポイントに関連付けられているルート。
|
waypointType |
enum (WaypointType )
このルート内のこのウェイポイントの役割(乗車地や降車地など)。
|
pathToWaypoint[] |
object (LatLng )
前のウェイポイントから現在のウェイポイントまでのパス。リスト内の最初のウェイポイントでは未定義です。このフィールドは、リクエストされた場合にのみ入力されます。
|
encodedPathToWaypoint |
string
前のウェイポイントから現在のウェイポイントまでのエンコードされたパス。 注: このフィールドは、Driver SDK と Consumer SDK でのみ使用することを目的としています。デコードはまだサポートされていません。
|
trafficToWaypoint |
object (ConsumableTrafficPolyline )
このウェイポイントまでの経路の交通状況。トラフィックは、Google Maps Platform の乗車と配達ソリューションのお客様のみが利用できます。
|
distanceMeters |
integer
前のウェイポイントから現在のウェイポイントまでのパスの距離。リスト内の最初のウェイポイントでは未定義です。
|
eta |
string (Timestamp format)
このウェイポイントの予定到着時刻。リスト内の最初のウェイポイントでは未定義です。 RFC 3339 を使用します。生成された出力は常に Z 正規化され、小数点以下は 0、3、6、または 9 桁になります。「Z」以外のオフセットも使用できます。例: "2014-10-02T15:01:23Z" 、"2014-10-02T15:01:23.045123456Z" 、"2014-10-02T15:01:23+05:30" 。
|
duration |
string (Duration format)
前のウェイポイントからこのポイントまでの所要時間。リスト内の最初のウェイポイントでは未定義です。 s で終わる小数 9 桁までの秒単位の期間。例: "3.5s" 。
|
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-02-26 UTC。
[null,null,["最終更新日 2025-02-26 UTC。"],[[["Waypoints represent stopping points or ending points on a vehicle's route or trip."],["Each waypoint includes information like location, trip ID, type (pickup, dropoff), path, and estimated arrival time."],["Waypoints can optionally include details about the path to the waypoint, traffic conditions, and distance."],["The ETA and duration fields provide estimates for arrival time and travel time to the waypoint."]]],["This data represents a waypoint, a stopping or ending point in a vehicle's trip. Key information includes the `location`, the associated `tripId`, and the `waypointType` (e.g., pickup, dropoff). It also provides path details like `pathToWaypoint`, `encodedPathToWaypoint`, and `trafficToWaypoint`, alongside metrics such as `distanceMeters`, `eta` (estimated time of arrival), and `duration` (travel time). Some data, like path details and time-related metrics, are undefined for the initial waypoint.\n"]]