Overview
Client-mode REST API connectors for Google Maps Platform: geocoding, elevation, time zone, device geolocation, Routes API ETAs and matrices, Roads API snap to roads and speed limits, Places search, Address Validation, Weather and Air Quality. This is one of the templates in the Google Maps Platform REST API app (google-maps-platform). Deploy it alongside the other connectors of that app when they depend on each other (for example a token connector plus an API connector).
Auth
- schemes: [“API key query parameter key= (Geocoding, Elevation, Time Zone, Geolocation, Roads, Address Validation, Weather, Air Quality)”, “X-Goog-Api-Key header + required X-Goog-FieldMask header (Routes API, Places API (New))”]
- secrets: [“GOOGLE_MAPS_API_KEY”]
- note: OAuth 2.0 service accounts not packaged (Fleet Engine and Route Optimization need OAuth).
Template parameters
BASE_ADDRESS default: https://addressvalidation.googleapis.com.
Events
Deploy
Get the template card (JSON withtemplate and metadata) from the broker, then deploy the connector:
BASE_ADDRESS already filled in:
-addConnector (do not include ADD METADATA).
Usage example
CallValidateAddress by publishing a JSON payload to its request topic, and read the reply on the response topic:

