Cloud Optimization V1 API - Module Google::Cloud::Optimization::V1::Vehicle::TravelMode (v0.7.0)

Reference documentation and code samples for the Cloud Optimization V1 API module Google::Cloud::Optimization::V1::Vehicle::TravelMode.

Travel modes which can be used by vehicles.

These should be a subset of the Google Maps Platform Routes Preferred API travel modes, see: https://developers.google.com/maps/documentation/routes_preferred/reference/rest/Shared.Types/RouteTravelMode.

Constants

TRAVEL_MODE_UNSPECIFIED

value: 0
Unspecified travel mode, equivalent to DRIVING.

DRIVING

value: 1
Travel mode corresponding to driving directions (car, ...).

WALKING

value: 2
Travel mode corresponding to walking directions.