Pub/Sub Reference Overview

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.

To understand how to parse the payload and handle different trip states, see Handle trip data.

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 schema.