RoutingPreference

A set of values that specify factors to take into consideration when calculating the route.

Enums
ROUTING_PREFERENCE_UNSPECIFIED No routing preference specified. Defaults to ROUTING_PREFERENCE_TRAFFIC_UNAWARE.
ROUTING_PREFERENCE_TRAFFIC_UNAWARE Computes routes without taking live traffic conditions into consideration. Suitable when traffic conditions don't matter or are not applicable. Using this value produces the lowest latency.
ROUTING_PREFERENCE_TRAFFIC_AWARE_OPTIMAL

Calculates routes taking live traffic conditions into consideration, when traffic data is available. For TRANSIT, uses realtime transit data, such as delays and cancellations, when available.

This value will trigger the Pro tier and incur higher billing cost and latency.