Routes Preferred APIs support four travel modes:

- Drive
- Walk
- Bicycle
- Two-wheeler

Two-wheeler refers to two-wheeled motorized vehicles (for example, motorcycles).
The two-wheeler travel mode differs from the bicycle travel mode, which is a
human-powered travel mode.

## Specifying the two-wheeler travel mode

When you call the Routes Preferred APIs, you use a
[`RouteTravelMode`](https://developers.google.com/maps/documentation/routes_preferred/reference/rest/Shared.Types/RouteTravelMode.md.txt)
enumeration value to specify the travel mode.

### Example

The following example demonstrates how to set the travel mode in the `ComputeRoutes()` method request
body.

```
{
  "origin":{
    "location":{
      "latLng":{
        "latitude":37.419734,
        "longitude":-122.0827784
      }
    }
  },
  "destination":{
    "location":{
      "latLng":{
        "latitude":37.417670,
        "longitude":-122.079595
      }
    }
  },
  "travelMode":"TWO_WHEELER"
}
```