Google Pub/Sub · AsyncAPI Specification
Google Cloud Pub/Sub
Version v1
Google Cloud Pub/Sub is a fully managed real-time messaging service that allows you to send and receive messages between independent applications. This AsyncAPI spec describes the event-driven messaging patterns for publishing and subscribing to messages via Pub/Sub topics.
View Spec
View on GitHub
CloudEvent-DrivenGoogle CloudMessagingPub/SubStreamingAsyncAPIWebhooksEvents
Channels
projects/{projectId}/topics/{topicId}
Publish a message to a topic
A named resource to which messages are sent by publishers and from which messages are delivered to subscribers.
projects/{projectId}/subscriptions/{subscriptionId}
Pull messages from a subscription
A named resource representing the stream of messages from a single specific topic to be delivered to the subscribing application.
Messages
PubsubMessage
Pub/Sub Message
A message published to or received from a Pub/Sub topic.
ReceivedMessage
Received Message
A message received from a subscription with acknowledgement metadata.
PushNotification
Push Notification
HTTP POST body sent by Pub/Sub to a push subscription endpoint.
Servers
https
google-cloud
pubsub.googleapis.com
Google Cloud Pub/Sub service endpoint