The Navigation Connect API lets you receive real-time trip updates
asynchronously using Google Cloud Pub/Sub.

For detailed instructions on how to configure your Google Cloud project and
subscribe to trip updates, see
[Retrieve trip data: Use Google Cloud Pub/Sub](https://developers.google.com/maps/documentation/navigation/connect/retrieve-trip-data.md.txt#use-pubsub).

To understand how to parse the payload and handle different trip states, see
[Handle trip data](https://developers.google.com/maps/documentation/navigation/connect/handle-trip-data.md.txt).

## Event Schema Reference

When Navigation Connect publishes updates to your topic, it sends a message
containing a JSON payload. The structure of this payload is defined by the
top-level **[NavigationConnectEvent](https://developers.google.com/maps/documentation/navigation/connect/reference/pubsub/rest/Shared.Types/NavigationConnectEvent.md.txt)** schema.