Index
RoutesPreferred
(interface)ComputeCustomRoutesRequest
(message)ComputeCustomRoutesResponse
(message)ComputeCustomRoutesResponse.FallbackInfo
(message)ComputeCustomRoutesResponse.FallbackInfo.FallbackRouteObjective
(enum)ComputeRouteMatrixRequest
(message)ComputeRoutesRequest
(message)ComputeRoutesResponse
(message)CustomRoute
(message)FallbackInfo
(message)FallbackReason
(enum)FallbackRoutingMode
(enum)Location
(message)Maneuver
(enum)NavigationInstruction
(message)Polyline
(message)PolylineEncoding
(enum)PolylineQuality
(enum)Route
(message)RouteLeg
(message)RouteLegStep
(message)RouteLegStepTravelAdvisory
(message)RouteLegTravelAdvisory
(message)RouteMatrixDestination
(message)RouteMatrixElement
(message)RouteMatrixElementCondition
(enum)RouteMatrixOrigin
(message)RouteModifiers
(message)RouteObjective
(message)RouteObjective.RateCard
(message)RouteObjective.RateCard.MonetaryCost
(message)RouteTravelAdvisory
(message)RouteTravelMode
(enum)RoutingPreference
(enum)SpeedReadingInterval
(message)SpeedReadingInterval.Speed
(enum)TollInfo
(message)TollPass
(enum)Units
(enum)VehicleEmissionType
(enum)VehicleInfo
(message)Waypoint
(message)
RoutesPreferred
The Routes Preferred API.
ComputeCustomRoutes |
---|
Given a set of terminal and intermediate waypoints, and a route objective, computes the best route for the route objective. Also returns fastest route and shortest route as reference routes. NOTE: This method requires that you specify a response field mask in the input. You can provide the response field mask by using the URL parameter For example, in this method:
Google discourages the use of the wildcard (
|
ComputeRouteMatrix |
---|
Takes in a list of origins and destinations and returns a stream containing route information for each combination of origin and destination. NOTE: This method requires that you specify a response field mask in the input. You can provide the response field mask by using the URL parameter For example, in this method:
It is critical that you include
|
ComputeRoutes |
---|
Returns the primary route along with optional alternate routes, given a set of terminal and intermediate waypoints. NOTE: This method requires that you specify a response field mask in the input. You can provide the response field mask by using URL parameter For example, in this method:
Google discourage the use of the wildcard (
|
ComputeCustomRoutesRequest
ComputeCustomRoutes request message.
Fields | |
---|---|
origin |
Required. Origin waypoint. |
destination |
Required. Destination waypoint. |
intermediates[] |
Optional. A set of waypoints along the route (excluding terminal points), for either stopping at or passing by. Up to 25 intermediate waypoints are supported. |
travel_ |
Optional. Specifies the mode of transportation. Only |
routing_ |
Optional. Specifies how to compute the route. The server attempts to use the selected routing preference to compute the route. If the routing preference results in an error or an extra long latency, then an error is returned. You can specify this option only when the |
polyline_ |
Optional. Specifies your preference for the quality of the polyline. |
polyline_ |
Optional. Specifies the preferred encoding for the polyline. |
departure_ |
Optional. The departure time. If you don't set this value, then this value defaults to the time that you made the request. If you set this value to a time that has already occurred, then the request fails. |
route_ |
Optional. A set of conditions to satisfy that affect the way routes are calculated. |
route_ |
Required. A route objective to optimize for. |
language_ |
Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see Unicode Locale Identifier. See Language Support for the list of supported languages. When you don't provide this value, the display language is inferred from the location of the route request. |
units |
Optional. Specifies the units of measure for the display fields. This includes the |
ComputeCustomRoutesResponse
ComputeCustomRoutes response message.
Fields | |
---|---|
routes[] |
The ‘best’ routes for the input route objective. |
fastest_ |
The fastest reference route. |
shortest_ |
The shortest reference route. |
fallback_ |
Fallback info for custom routes. |
FallbackInfo
Encapsulates fallback info for ComputeCustomRoutes
. ComputeCustomRoutes
performs two types of fallbacks:
If it cannot compute the route using the
routing_preference
requested by the customer, it will fallback to another routing mode. In this casefallback_routing_mode
androuting_mode_fallback_reason
are used to communicate the fallback routing mode used, as well as the reason for fallback.If it cannot compute a 'best' route for the route objective specified by the customer, it might fallback to another objective.
fallback_route_objective
is used to communicate the fallback route objective.
Fields | |
---|---|
routing_ |
Routing mode used for the response. If fallback was triggered, the mode may be different from routing preference set in the original client request. |
routing_ |
The reason why fallback response was used instead of the original response. This field is only populated when the fallback mode is triggered and the fallback response is returned. |
route_ |
The route objective used for the response. If fallback was triggered, the objective may be different from the route objective provided in the original client request. |
FallbackRouteObjective
RouteObjective used for the response.
Enums | |
---|---|
FALLBACK_ROUTE_OBJECTIVE_UNSPECIFIED |
Fallback route objective unspecified. |
FALLBACK_RATECARD_WITHOUT_TOLL_PRICE_DATA |
If customer requests RateCard and sets include_tolls to true, and Google does not have toll price data for the route, the API falls back to RateCard without considering toll price. |
ComputeRouteMatrixRequest
ComputeRouteMatrix request message
Fields | |
---|---|
origins[] |
Required. Array of origins, which determines the rows of the response matrix. Several size restrictions apply to the cardinality of origins and destinations:
|
destinations[] |
Required. Array of destinations, which determines the columns of the response matrix. |
travel_ |
Optional. Specifies the mode of transportation. |
routing_ |
Optional. Specifies how to compute the route. The server attempts to use the selected routing preference to compute the route. If the routing preference results in an error or an extra long latency, an error is returned. You can specify this option only when the |
departure_ |
Optional. The departure time. If you don't set this value, this defaults to the time that you made the request. If you set this value to a time that has already occurred, the request fails. |
ComputeRoutesRequest
ComputeRoutes
request message.
Fields | |
---|---|
origin |
Required. Origin waypoint. |
destination |
Required. Destination waypoint. |
intermediates[] |
Optional. A set of waypoints along the route (excluding terminal points), for either stopping at or passing by. Up to 25 intermediate waypoints are supported. |
travel_ |
Optional. Specifies the mode of transportation. |
routing_ |
Optional. Specifies how to compute the route. The server attempts to use the selected routing preference to compute the route. If the routing preference results in an error or an extra long latency, then an error is returned. You can specify this option only when the |
polyline_ |
Optional. Specifies your preference for the quality of the polyline. |
polyline_ |
Optional. Specifies the preferred encoding for the polyline. |
departure_ |
Optional. The departure time. If you don't set this value, then this value defaults to the time that you made the request. If you set this value to a time that has already occurred, then the request fails. |
compute_ |
Optional. Specifies whether to calculate alternate routes in addition to the route. No alternative routes are returned for requests that have intermediate waypoints. |
route_ |
Optional. A set of conditions to satisfy that affect the way routes are calculated. |
language_ |
Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more information, see Unicode Locale Identifier. See Language Support for the list of supported languages. When you don't provide this value, the display language is inferred from the location of the route request. |
units |
Optional. Specifies the units of measure for the display fields. This includes the |
optimize_ |
If optimizeWaypointOrder is set to true, an attempt is made to re-order the specified intermediate waypoints to minimize the overall cost of the route. If any of the intermediate waypoints is via waypoint the request fails. Use |
ComputeRoutesResponse
ComputeRoutes the response message.
Fields | |
---|---|
routes[] |
Contains an array of computed routes (up to three) when you specify |
fallback_ |
In some cases when the server is not able to compute the route results with all of the input preferences, it may fallback to using a different way of computation. When fallback mode is used, this field contains detailed info about the fallback response. Otherwise this field is unset. |
CustomRoute
Encapsulates a custom route computed based on the route objective specified by the customer. CustomRoute
contains a route and a route token, which can be passed to NavSDK to reconstruct the custom route for turn by turn navigation.
Fields | |
---|---|
route |
The route considered 'best' for the input route objective. |
token |
Web-safe base64 encoded route token that can be passed to NavSDK, which allows NavSDK to reconstruct the route during navigation, and in the event of rerouting honor the original intention when |
FallbackInfo
Information related to how and why a fallback result was used. If this field is set, then it means the server used a different routing mode from your preferred mode as fallback.
Fields | |
---|---|
routing_ |
Routing mode used for the response. If fallback was triggered, the mode may be different from routing preference set in the original client request. |
reason |
The reason why fallback response was used instead of the original response. This field is only populated when the fallback mode is triggered and the fallback response is returned. |
FallbackReason
Reasons for using fallback response.
Enums | |
---|---|
FALLBACK_REASON_UNSPECIFIED |
No fallback reason specified. |
SERVER_ERROR |
A server error happened while calculating routes with your preferred routing mode, but we were able to return a result calculated by an alternative mode. |
LATENCY_EXCEEDED |
We were not able to finish the calculation with your preferred routing mode on time, but we were able to return a result calculated by an alternative mode. |
FallbackRoutingMode
Actual routing mode used for returned fallback response.
Enums | |
---|---|
FALLBACK_ROUTING_MODE_UNSPECIFIED |
Not used. |
FALLBACK_TRAFFIC_UNAWARE |
Indicates the TRAFFIC_UNAWARE routing mode was used to compute the response. |
FALLBACK_TRAFFIC_AWARE |
Indicates the TRAFFIC_AWARE routing mode was used to compute the response. |
Location
Encapsulates a location (a geographic point, and an optional heading).
Fields | |
---|---|
lat_ |
The waypoint's geographic coordinates. |
heading |
The compass heading associated with the direction of the flow of traffic. This value specifies the side of the road to use for pickup and drop-off. Heading values can be from 0 to 360, where 0 specifies a heading of due North, 90 specifies a heading of due East, and so on. You can use this field only for |
Maneuver
A set of values that specify the navigation action to take for the current step (for example, turn left, merge, or straight).
Enums | |
---|---|
MANEUVER_UNSPECIFIED |
Not used. |
TURN_SLIGHT_LEFT |
Turn slightly to the left. |
TURN_SHARP_LEFT |
Turn sharply to the left. |
UTURN_LEFT |
Make a left u-turn. |
TURN_LEFT |
Turn left. |
TURN_SLIGHT_RIGHT |
Turn slightly to the right. |
TURN_SHARP_RIGHT |
Turn sharply to the right. |
UTURN_RIGHT |
Make a right u-turn. |
TURN_RIGHT |
Turn right. |
STRAIGHT |
Go straight. |
RAMP_LEFT |
Take the left ramp. |
RAMP_RIGHT |
Take the right ramp. |
MERGE |
Merge into traffic. |
FORK_LEFT |
Take the left fork. |
FORK_RIGHT |
Take the right fork. |
FERRY |
Take the ferry. |
FERRY_TRAIN |
Take the train leading onto the ferry. |
ROUNDABOUT_LEFT |
Turn left at the roundabout. |
ROUNDABOUT_RIGHT |
Turn right at the roundabout. |
DEPART |
Initial maneuver. |
NAME_CHANGE |
Used to indicate a street name change. |
Polyline
Encapsulates an encoded polyline.
Fields | |
---|---|
Union field polyline_type . Encapsulates the type of polyline. Defaults to encoded_polyline. polyline_type can be only one of the following: |
|
encoded_ |
The string encoding of the polyline using the polyline encoding algorithm. |
geo_ |
Specifies a polyline using the GeoJSON LineString format. |
PolylineEncoding
Specifies the preferred type of polyline to be returned.
Enums | |
---|---|
POLYLINE_ENCODING_UNSPECIFIED |
No polyline type preference specified. Defaults to ENCODED_POLYLINE . |
ENCODED_POLYLINE |
Specifies a polyline encoded using the polyline encoding algorithm. |
GEO_JSON_LINESTRING |
Specifies a polyline using the GeoJSON LineString format. |
PolylineQuality
A set of values that specify the quality of the polyline.
Enums | |
---|---|
POLYLINE_QUALITY_UNSPECIFIED |
No polyline quality preference specified. Defaults to OVERVIEW . |
HIGH_QUALITY |
Specifies a high-quality polyline - which is composed using more points than OVERVIEW , at the cost of increased response size. Use this value when you need more precision. |
OVERVIEW |
Specifies an overview polyline - which is composed using a small number of points. Use this value when displaying an overview of the route. Using this option has a lower request latency compared to using the HIGH_QUALITY option. |
Route
Encapsulates a route, which consists of a series of connected road segments that join beginning, ending, and intermediate waypoints.
Fields | |
---|---|
legs[] |
A collection of legs (path segments between waypoints) that make-up the route. Each leg corresponds to the trip between two non- |
distance_ |
The travel distance of the route, in meters. |
duration |
The length of time needed to navigate the route. If you set the |
static_ |
The duration of traveling through the route without taking traffic conditions into consideration. |
polyline |
The overall route polyline. This polyline is the combined polyline of all |
description |
A description of the route. |
warnings[] |
An array of warnings to show when displaying the route. |
viewport |
The viewport bounding box of the polyline. |
travel_ |
Additional information about the route. |
optimized_ |
If |
RouteLeg
Encapsulates a segment between non-via
waypoints.
Fields | |
---|---|
distance_ |
The travel distance of the route leg, in meters. |
duration |
The length of time needed to navigate the leg. If the |
static_ |
The duration of traveling through the leg, calculated without taking traffic conditions into consideration. |
polyline |
The overall polyline for this leg. This includes that each |
start_ |
The start location of this leg. This might be different from the provided |
end_ |
The end location of this leg. This might be different from the provided |
steps[] |
An array of steps denoting segments within this leg. Each step represents one navigation instruction. |
travel_ |
Encapsulates the additional information that the user should be informed about, such as possible traffic zone restriction etc. on a route leg. |
RouteLegStep
Encapsulates a segment of a RouteLeg
. A step corresponds to a single navigation instruction. Route legs are made up of steps.
Fields | |
---|---|
distance_ |
The travel distance of this step, in meters. In some circumstances, this field might not have a value. |
static_ |
The duration of travel through this step without taking traffic conditions into consideration. In some circumstances, this field might not have a value. |
polyline |
The polyline associated with this step. |
start_ |
The start location of this step. |
end_ |
The end location of this step. |
navigation_ |
Navigation instructions. |
travel_ |
Encapsulates the additional information that the user should be informed about, such as possible traffic zone restriction on a leg step. |
RouteLegStepTravelAdvisory
Encapsulates the additional information that the user should be informed about, such as possible traffic zone restriction on a leg step.
Fields | |
---|---|
speed_ |
NOTE: This field is not currently populated. |
RouteLegTravelAdvisory
Encapsulates the additional information that the user should be informed about, such as possible traffic zone restriction etc. on a route leg.
Fields | |
---|---|
toll_ |
Encapsulates information about tolls on the specific |
speed_ |
Speed reading intervals detailing traffic density. Applicable in case of Example:
|
RouteMatrixDestination
A single destination for ComputeRouteMatrixRequest
Fields | |
---|---|
waypoint |
Required. Destination waypoint |
RouteMatrixElement
Encapsulates route information computed for an origin/destination pair in the ComputeRouteMatrix API. This proto can be streamed to the client.
Fields | |
---|---|
origin_ |
Zero-based index of the origin in the request. |
destination_ |
Zero-based index of the destination in the request. |
status |
Error status code for this element. |
condition |
Indicates whether the route was found or not. Independent of status. |
distance_ |
The travel distance of the route, in meters. |
duration |
The length of time needed to navigate the route. If you set the |
static_ |
The duration of traveling through the route without taking traffic conditions into consideration. |
travel_ |
Additional information about the route. For example: restriction information and toll information |
fallback_ |
In some cases when the server is not able to compute the route with the given preferences for this particular origin/destination pair, it may fall back to using a different mode of computation. When fallback mode is used, this field contains detailed information about the fallback response. Otherwise this field is unset. |
RouteMatrixElementCondition
The condition of the route being returned.
Enums | |
---|---|
ROUTE_MATRIX_ELEMENT_CONDITION_UNSPECIFIED |
Only used when the status of the element is not OK. |
ROUTE_EXISTS |
A route was found, and the corresponding information was filled out for the element. |
ROUTE_NOT_FOUND |
No route could be found. Fields containing route information, such as distance_meters or duration , will not be filled out in the element. |
RouteMatrixOrigin
A single origin for ComputeRouteMatrixRequest
Fields | |
---|---|
waypoint |
Required. Origin waypoint |
route_ |
Optional. Modifiers for every route that takes this as the origin |
RouteModifiers
Encapsulates a set of optional conditions to satisfy when calculating the routes.
Fields | |
---|---|
avoid_ |
When set to true, avoids toll roads where reasonable, giving preference to routes not containing toll roads. Applies only to the |
avoid_ |
When set to true, avoids highways where reasonable, giving preference to routes not containing highways. Applies only to the |
avoid_ |
When set to true, avoids ferries where reasonable, giving preference to routes not containing ferries. Applies only to the |
avoid_ |
When set to true, avoids navigating indoors where reasonable, giving preference to routes not containing indoor navigation. Applies only to the |
vehicle_ |
Specifies the vehicle information. |
toll_ |
Encapsulates information about toll passes. If toll passes are provided, the API tries to return the pass price. If toll passes are not provided, the API treats the toll pass as unknown and tries to return the cash price. Applies only to the |
RouteObjective
Encapsulates an objective to optimize for by ComputeCustomRoutes
.
Fields | |
---|---|
Union field objective . The route objective. objective can be only one of the following: |
|
rate_ |
The RateCard objective. |
RateCard
Encapsulates a RateCard
route objective.
Fields | |
---|---|
cost_ |
Optional. Cost per minute. |
cost_ |
Optional. Cost per kilometer. |
include_ |
Optional. Whether to include toll cost in the overall cost. |
MonetaryCost
Encapsulates the cost used in the rate card.
Fields | |
---|---|
value |
Required. The cost value in local currency inferred from the request. |
RouteTravelAdvisory
Encapsulates the additional information that the user should be informed about, such as possible traffic zone restriction etc.
Fields | |
---|---|
toll_ |
Encapsulates information about tolls on the Route. This field is only populated if we expect there are tolls on the Route. If this field is set but the |
speed_ |
Speed reading intervals detailing traffic density. Applicable in case of Example:
|
RouteTravelMode
A set of values used to specify the mode of travel.
Enums | |
---|---|
TRAVEL_MODE_UNSPECIFIED |
No travel mode specified. Defaults to DRIVE . |
DRIVE |
Travel by passenger car. |
BICYCLE |
Travel by bicycle. |
WALK |
Travel by walking. |
TWO_WHEELER |
Two-wheeled, motorized vehicle. For example, motorcycle. Note that this differs from the BICYCLE travel mode which covers human-powered mode. |
TAXI |
Travel by licensed taxi, which may allow the vehicle to travel on designated taxi lanes in some areas. TAXI mode is an experimental feature. If customer requests TAXI route in a city where taxi lane data is not available, a DRIVE route is returned. |
RoutingPreference
A set of values that specify factors to take into consideration when calculating the route.
Enums | |
---|---|
ROUTING_PREFERENCE_UNSPECIFIED |
No routing preference specified. Default to TRAFFIC_AWARE . |
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. Note: For RouteTravelMode DRIVE and TWO_WHEELER, the route and duration chosen are based on road network and average time-independent traffic conditions, not current road conditions. Consequently, routes may include roads that are temporarily closed. Results for a given request may vary over time due to changes in the road network, updated average traffic conditions, and the distributed nature of the service. Results may also vary between nearly-equivalent routes at any time or frequency. |
TRAFFIC_AWARE |
Calculates routes taking traffic conditions into consideration. In contrast to TRAFFIC_AWARE_OPTIMAL , some optimizations are applied to significantly reduce latency. |
TRAFFIC_AWARE_OPTIMAL |
Calculates the routes taking traffic conditions into consideration, without applying most performance optimizations. Using this value produces the highest latency. |
SpeedReadingInterval
Traffic density indicator on a contiguous segment of a polyline or path. Given a path with points P_0, P_1, ... , P_N (zero-based index), the SpeedReadingInterval
defines an interval and describes its traffic using the following categories.
Fields | |
---|---|
start_ |
The starting index of this interval in the polyline. In JSON, when the index is 0, the field appears to be unpopulated. |
end_ |
The ending index of this interval in the polyline. In JSON, when the index is 0, the field appears to be unpopulated. |
speed |
Traffic speed in this interval. |
Speed
The classification of polyline speed based on traffic data.
Enums | |
---|---|
SPEED_UNSPECIFIED |
Default value. This value is unused. |
NORMAL |
Normal speed, no slowdown is detected. |
SLOW |
Slowdown detected, but no traffic jam formed. |
TRAFFIC_JAM |
Traffic jam detected. |
TollInfo
Encapsulates toll information on a Route
or on a RouteLeg
.
Fields | |
---|---|
estimated_ |
The monetary amount of tolls for the corresponding |
TollPass
List of toll passes around the world that we support.
Enums | |
---|---|
TOLL_PASS_UNSPECIFIED |
Not used. If this value is used, then the request fails. |
AU_ETOLL_TAG |
One of many Sydney toll pass providers. https://www.myetoll.com.au |
AU_EWAY_TAG |
One of many Sydney toll pass providers. https://www.tollpay.com.au/ |
AU_LINKT |
Australia-wide toll pass. See additional details at https://www.linkt.com.au/. |
AR_TELEPASE |
Argentina toll pass. See additional details at https://telepase.com.ar |
BR_AUTO_EXPRESO |
Brazil toll pass. See additional details at https://www.autoexpreso.com |
BR_CONECTCAR |
Brazil toll pass. See additional details at https://conectcar.com. |
BR_MOVE_MAIS |
Brazil toll pass. See additional details at https://movemais.com. |
BR_PASSA_RAPIDO |
Brazil toll pass. See additional details at https://pasorapido.gob.do/ |
BR_SEM_PARAR |
Brazil toll pass. See additional details at https://www.semparar.com.br. |
BR_TAGGY |
Brazil toll pass. See additional details at https://taggy.com.br. |
BR_VELOE |
Brazil toll pass. See additional details at https://veloe.com.br/site/onde-usar. |
CA_US_AKWASASNE_SEAWAY_CORPORATE_CARD |
Canada to United States border crossing. |
CA_US_AKWASASNE_SEAWAY_TRANSIT_CARD |
Canada to United States border crossing. |
CA_US_BLUE_WATER_EDGE_PASS |
Ontario, Canada to Michigan, United States border crossing. |
CA_US_CONNEXION |
Ontario, Canada to Michigan, United States border crossing. |
CA_US_NEXUS_CARD |
Canada to United States border crossing. |
ID_E_TOLL |
Indonesia. E-card provided by multiple banks used to pay for tolls. All e-cards via banks are charged the same so only one enum value is needed. E.g. Bank Mandiri https://www.bankmandiri.co.id/e-money BCA https://www.bca.co.id/flazz BNI https://www.bni.co.id/id-id/ebanking/tapcash |
IN_FASTAG |
India. |
IN_LOCAL_HP_PLATE_EXEMPT |
India, HP state plate exemption. |
JP_ETC |
Japan ETC. Electronic wireless system to collect tolls. https://www.go-etc.jp/ |
JP_ETC2 |
Japan ETC2.0. New version of ETC with further discount and bidirectional communication between devices on vehicles and antennas on the road. https://www.go-etc.jp/etc2/index.html |
MX_IAVE |
Mexico https://iave.capufe.gob.mx/#/ |
MX_PASE |
Mexico https://www.pase.com.mx |
MX_QUICKPASS |
Mexico https://operadoravial.com/quick-pass/ |
MX_SISTEMA_TELEPEAJE_CHIHUAHUA |
Mexico http://appsh.chihuahua.gob.mx/transparencia/?doc=/ingresos/TelepeajeFormato4.pdf |
MX_TAG_IAVE |
Mexico |
MX_TAG_TELEVIA |
Mexico toll pass company. One of many operating in Mexico City. See additional details at https://www.televia.com.mx. |
MX_TELEVIA |
Mexico toll pass company. One of many operating in Mexico City. https://www.televia.com.mx |
MX_VIAPASS |
Mexico toll pass. See additional details at https://www.viapass.com.mx/viapass/web_home.aspx. |
US_AL_FREEDOM_PASS |
AL, USA. |
US_AK_ANTON_ANDERSON_TUNNEL_BOOK_OF_10_TICKETS |
AK, USA. |
US_CA_FASTRAK |
CA, USA. |
US_CA_FASTRAK_CAV_STICKER |
Indicates driver has any FasTrak pass in addition to the DMV issued Clean Air Vehicle (CAV) sticker. https://www.bayareafastrak.org/en/guide/doINeedFlex.shtml |
US_CO_EXPRESSTOLL |
CO, USA. |
US_CO_GO_PASS |
CO, USA. |
US_DE_EZPASSDE |
DE, USA. |
US_FL_BOB_SIKES_TOLL_BRIDGE_PASS |
FL, USA. |
US_FL_DUNES_COMMUNITY_DEVELOPMENT_DISTRICT_EXPRESSCARD |
FL, USA. |
US_FL_EPASS |
FL, USA. |
US_FL_GIBA_TOLL_PASS |
FL, USA. |
US_FL_LEEWAY |
FL, USA. |
US_FL_SUNPASS |
FL, USA. |
US_FL_SUNPASS_PRO |
FL, USA. |
US_IL_EZPASSIL |
IL, USA. |
US_IL_IPASS |
IL, USA. |
US_IN_EZPASSIN |
IN, USA. |
US_KS_BESTPASS_HORIZON |
KS, USA. |
US_KS_KTAG |
KS, USA. |
US_KS_NATIONALPASS |
KS, USA. |
US_KS_PREPASS_ELITEPASS |
KS, USA. |
US_KY_RIVERLINK |
KY, USA. |
US_LA_GEAUXPASS |
LA, USA. |
US_LA_TOLL_TAG |
LA, USA. |
US_MA_EZPASSMA |
MA, USA. |
US_MD_EZPASSMD |
MD, USA. |
US_ME_EZPASSME |
ME, USA. |
US_MI_AMBASSADOR_BRIDGE_PREMIER_COMMUTER_CARD |
MI, USA. |
US_MI_BCPASS |
MI, USA. |
US_MI_GROSSE_ILE_TOLL_BRIDGE_PASS_TAG |
MI, USA. |
US_MI_IQ_PROX_CARD |
MI, USA. Deprecated as this pass type no longer exists. |
US_MI_IQ_TAG |
MI, USA. |
US_MI_MACKINAC_BRIDGE_MAC_PASS |
MI, USA. |
US_MI_NEXPRESS_TOLL |
MI, USA. |
US_MN_EZPASSMN |
MN, USA. |
US_NC_EZPASSNC |
NC, USA. |
US_NC_PEACH_PASS |
NC, USA. |
US_NC_QUICK_PASS |
NC, USA. |
US_NH_EZPASSNH |
NH, USA. |
US_NJ_DOWNBEACH_EXPRESS_PASS |
NJ, USA. |
US_NJ_EZPASSNJ |
NJ, USA. |
US_NY_EXPRESSPASS |
NY, USA. |
US_NY_EZPASSNY |
NY, USA. |
US_OH_EZPASSOH |
OH, USA. |
US_PA_EZPASSPA |
PA, USA. |
US_RI_EZPASSRI |
RI, USA. |
US_SC_PALPASS |
SC, USA. |
US_TX_AVI_TAG |
TX, USA. |
US_TX_BANCPASS |
TX, USA. |
US_TX_DEL_RIO_PASS |
TX, USA. |
US_TX_EFAST_PASS |
TX, USA. |
US_TX_EAGLE_PASS_EXPRESS_CARD |
TX, USA. |
US_TX_EPTOLL |
TX, USA. |
US_TX_EZ_CROSS |
TX, USA. |
US_TX_EZTAG |
TX, USA. |
US_TX_FUEGO_TAG |
TX, USA. |
US_TX_LAREDO_TRADE_TAG |
TX, USA. |
US_TX_PLUSPASS |
TX, USA. |
US_TX_TOLLTAG |
TX, USA. |
US_TX_TXTAG |
TX, USA. |
US_TX_XPRESS_CARD |
TX, USA. |
US_UT_ADAMS_AVE_PARKWAY_EXPRESSCARD |
UT, USA. |
US_VA_EZPASSVA |
VA, USA. |
US_WA_BREEZEBY |
WA, USA. |
US_WA_GOOD_TO_GO |
WA, USA. |
US_WV_EZPASSWV |
WV, USA. |
US_WV_MEMORIAL_BRIDGE_TICKETS |
WV, USA. |
US_WV_MOV_PASS |
WV, USA |
US_WV_NEWELL_TOLL_BRIDGE_TICKET |
WV, USA. |
Units
A set of values that specify the unit of measure used in the display.
Enums | |
---|---|
UNITS_UNSPECIFIED |
Units of measure not specified. Defaults to the unit of measure inferred from the request. |
METRIC |
Metric units of measure. |
IMPERIAL |
Imperial (English) units of measure. |
VehicleEmissionType
A set of values describing the vehicle's emission type. Applies only to the DRIVE travel mode.
Enums | |
---|---|
VEHICLE_EMISSION_TYPE_UNSPECIFIED |
No emission type specified. Default to GASOLINE. |
GASOLINE |
Gasoline/petrol fueled vehicle. |
ELECTRIC |
Electricity powered vehicle. |
HYBRID |
Hybrid fuel (such as gasoline + electric) vehicle. |
VehicleInfo
Encapsulates the vehicle information, such as the vehicle emission type.
Fields | |
---|---|
emission_ |
Describes the vehicle's emission type. Applies only to the |
Waypoint
Encapsulates a waypoint. Waypoints mark both the beginning and end of a route, and include intermediate stops along the route.
Fields | |
---|---|
via |
Marks this waypoint as a milestone rather a stopping point. For each non-via waypoint in the request, the response appends an entry to the |
vehicle_ |
Indicates that the waypoint is meant for vehicles to stop at, where the intention is to either pickup or drop-off. When you set this value, the calculated route won't include non- |
side_ |
Indicates that the location of this waypoint is meant to have a preference for the vehicle to stop at a particular side of road. When you set this value, the route will pass through the location so that the vehicle can stop at the side of road that the location is biased towards from the center of the road. This option works only for 'DRIVE' and 'TWO_WHEELER' travel modes. |
Union field location_type . Different ways to represent a location. location_type can be only one of the following: |
|
location |
A point specified using geographic coordinates, including an optional heading. |
place_ |
The POI Place ID associated with the waypoint. |