Class: Google::Cloud::Optimization::V1::RouteModifiers

Inherits:
Object
  • Object
show all
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

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.

Returns:

  • (::Boolean)

    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.

Returns:

  • (::Boolean)

    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.

Returns:

  • (::Boolean)

    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.

Returns:

  • (::Boolean)

    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