Class: Google::Cloud::Optimization::V1::RouteModifiers
- Inherits:
-
Object
- Object
- Google::Cloud::Optimization::V1::RouteModifiers
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/optimization/v1/fleet_routing.rb
Overview
Encapsulates a set of optional conditions to satisfy when calculating
vehicle routes. This is similar to RouteModifiers
in the Google Maps
Platform API; see:
https://developers.google.com/maps/documentation/routes/reference/rest/v2/RouteModifiers.
Instance Attribute Summary collapse
-
#avoid_ferries ⇒ ::Boolean
Specifies whether to avoid ferries where reasonable.
-
#avoid_highways ⇒ ::Boolean
Specifies whether to avoid highways where reasonable.
-
#avoid_indoor ⇒ ::Boolean
Optional.
-
#avoid_tolls ⇒ ::Boolean
Specifies whether to avoid toll roads where reasonable.
Instance Attribute Details
#avoid_ferries ⇒ ::Boolean
Returns Specifies whether to avoid ferries where reasonable. Preference will be given to routes not containing travel by ferries. Applies only to motorized travel modes.
1147 1148 1149 1150 |
# File 'proto_docs/google/cloud/optimization/v1/fleet_routing.rb', line 1147 class RouteModifiers include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#avoid_highways ⇒ ::Boolean
Returns Specifies whether to avoid highways where reasonable. Preference will be given to routes not containing highways. Applies only to motorized travel modes.
1147 1148 1149 1150 |
# File 'proto_docs/google/cloud/optimization/v1/fleet_routing.rb', line 1147 class RouteModifiers include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#avoid_indoor ⇒ ::Boolean
Returns Optional. Specifies whether to avoid navigating indoors where reasonable.
Preference will be given to routes not containing indoor navigation.
Applies only to the WALKING
travel mode.
1147 1148 1149 1150 |
# File 'proto_docs/google/cloud/optimization/v1/fleet_routing.rb', line 1147 class RouteModifiers include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#avoid_tolls ⇒ ::Boolean
Returns Specifies whether to avoid toll roads where reasonable. Preference will be given to routes not containing toll roads. Applies only to motorized travel modes.
1147 1148 1149 1150 |
# File 'proto_docs/google/cloud/optimization/v1/fleet_routing.rb', line 1147 class RouteModifiers include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |