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-01-22 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-01-22 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."]]],[]]