{"via": boolean,"vehicleStopover": boolean,"sideOfRoad": boolean,// The following is a list of mutually exclusive fields. At most one of the// fields will be set in a response:"location": {object (Location)},"placeId": string,"address": string,"navigationPointToken": string// End of mutually exclusive fields.}
フィールド
via
boolean
このウェイポイントを停車地ではなくマイルストーンとしてマークします。リクエスト内の via 以外のウェイポイントごとに、レスポンスは legs 配列にエントリを追加して、旅程のその区間の途中停車地の詳細を提供します。ルートがこのウェイポイントを停車せずに通過するようにする場合は、この値を true に設定します。via ウェイポイントは legs 配列にエントリを追加しませんが、ウェイポイントを経由して移動します。この値は、中間ウェイポイントでのみ設定できます。終点ウェイポイントでこのフィールドを設定すると、リクエストは失敗します。ComputeRoutesRequest.optimize_waypoint_order が true に設定されている場合、このフィールドを true に設定することはできません。それ以外の場合、リクエストは失敗します。
[[["わかりやすい","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"]],["最終更新日 2026-09-07 UTC。"],[],["Waypoints, marking route start, end, and intermediate stops, are defined using a JSON format. Key properties include `via` (boolean) for non-stopping waypoints, `vehicleStopover` (boolean) for pickup/drop-off locations, and `sideOfRoad` (boolean) for preferred stopping side. A waypoint's `location_type` can be specified via geographic coordinates (`location`), a place ID (`placeId`), or a human-readable address (`address`). `via` cannot be true for terminal waypoints or if `optimize_waypoint_order` is true.\n"]]