1- // Copyright 2022 Google LLC
1+ // Copyright 2023 Google LLC
22//
33// Licensed under the Apache License, Version 2.0 (the "License");
44// you may not use this file except in compliance with the License.
@@ -34,22 +34,24 @@ option ruby_package = "Google::Maps::Routing::V2";
3434message RouteModifiers {
3535 // Specifies whether to avoid toll roads where reasonable. Preference will be
3636 // given to routes not containing toll roads. Applies only to the `DRIVE` and
37- // `TWO_WHEELER` travel modes .
37+ // `TWO_WHEELER` [RouteTravelMode][google.maps.routing.v2.RouteTravelMode] .
3838 bool avoid_tolls = 1 ;
3939
4040 // Specifies whether to avoid highways where reasonable. Preference will be
4141 // given to routes not containing highways. Applies only to the `DRIVE` and
42- // `TWO_WHEELER` travel modes .
42+ // `TWO_WHEELER` [RouteTravelMode][google.maps.routing.v2.RouteTravelMode] .
4343 bool avoid_highways = 2 ;
4444
4545 // Specifies whether to avoid ferries where reasonable. Preference will be
4646 // given to routes not containing travel by ferries.
47- // Applies only to the `DRIVE` and`TWO_WHEELER` travel modes.
47+ // Applies only to the `DRIVE` and`TWO_WHEELER`
48+ // [RouteTravelMode][google.maps.routing.v2.RouteTravelMode].
4849 bool avoid_ferries = 3 ;
4950
5051 // Specifies whether to avoid navigating indoors where reasonable. Preference
5152 // will be given to routes not containing indoor navigation.
52- // Applies only to the `WALK` travel mode.
53+ // Applies only to the `WALK`
54+ // [RouteTravelMode][google.maps.routing.v2.RouteTravelMode].
5355 bool avoid_indoor = 4 ;
5456
5557 // Specifies the vehicle information.
@@ -59,6 +61,7 @@ message RouteModifiers {
5961 // If toll passes are provided, the API tries to return the pass price. If
6062 // toll passes are not provided, the API treats the toll pass as unknown and
6163 // tries to return the cash price.
62- // Applies only to the DRIVE and TWO_WHEELER travel modes.
64+ // Applies only to the `DRIVE` and `TWO_WHEELER`
65+ // [RouteTravelMode][google.maps.routing.v2.RouteTravelMode].
6366 repeated TollPass toll_passes = 6 ;
6467}
0 commit comments