Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Google Cloud Platform logo

Open in Cloud Shell

Cloud Pub/Sub is a fully-managed real-time messaging service that allows you to send and receive messages between independent applications.

This document contains to an API reference, samples, and other resources useful to developing Node.js applications. For additional help developing Pub/Sub applications, in Node.js and other languages, see our Pub/Sub quickstart, publisher, and subscriber guides.

Table of Contents

Before you begin

Before running the samples, make sure you've followed the steps outlined in Using the client library.

Samples

Quickstart

View the source code.

Open in Cloud Shell

Usage:

node quickstart.js


Subscriptions

View the source code.

Open in Cloud Shell

Usage:

node subscriptions.js


Topics

View the source code.

Open in Cloud Shell

Usage:

node topics.js