# Routes Preferred API

## Service: routespreferred.googleapis.com

The Service name `routespreferred.googleapis.com` is needed to create RPC client stubs.

## `https://developers.google.com/maps/documentation/routes_preferred/reference/rpc/google.maps.routes.v1#google.maps.routes.v1.RoutesPreferred`

| Methods ||
|---|---|
| `` `https://developers.google.com/maps/documentation/routes_preferred/reference/rpc/google.maps.routes.v1#google.maps.routes.v1.RoutesPreferred.ComputeCustomRoutes` `` | Given a set of terminal and intermediate waypoints, and a route objective, computes the best route for the route objective. |
| `` `https://developers.google.com/maps/documentation/routes_preferred/reference/rpc/google.maps.routes.v1#google.maps.routes.v1.RoutesPreferred.ComputeRouteMatrix` `` | Takes in a list of origins and destinations and returns a stream containing route information for each combination of origin and destination. |
| `` `https://developers.google.com/maps/documentation/routes_preferred/reference/rpc/google.maps.routes.v1#google.maps.routes.v1.RoutesPreferred.ComputeRoutes` `` | Returns the primary route along with optional alternate routes, given a set of terminal and intermediate waypoints. |

## `https://developers.google.com/maps/documentation/routes_preferred/reference/rpc/google.maps.routes.v1alpha#google.maps.routes.v1alpha.RoutesAlpha`

| Methods ||
|---|---|
| `` `https://developers.google.com/maps/documentation/routes_preferred/reference/rpc/google.maps.routes.v1alpha#google.maps.routes.v1alpha.RoutesAlpha.ComputeCustomRoutes` `` | Given a set of terminal and intermediate waypoints, and a route objective, computes the best route for the route objective. |
| `` `https://developers.google.com/maps/documentation/routes_preferred/reference/rpc/google.maps.routes.v1alpha#google.maps.routes.v1alpha.RoutesAlpha.ComputeRouteMatrix` `` | Takes in a list of origins and destinations and returns a stream containing route information for each combination of origin and destination. |
| `` `https://developers.google.com/maps/documentation/routes_preferred/reference/rpc/google.maps.routes.v1alpha#google.maps.routes.v1alpha.RoutesAlpha.ComputeRoutes` `` | Returns the primary route along with optional alternate routes, given a set of terminal and intermediate waypoints. |