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

0.16.0 (latest) 0.15.0 0.14.1 0.13.0 0.12.0 0.11.1 0.10.0 0.9.2 0.8.2 0.7.0 0.6.0 0.5.0 0.4.1 0.3.0 0.2.1 0.1.1 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.


<br />

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.