Google Cloud Pub/Sub ​
Publish and subscribe to real-time messaging with Google Cloud Pub/Sub.
| Detail | Value |
|---|---|
| Category | Cloud & Infra |
| Base URL | https://pubsub.googleapis.com/v1 |
| Authentication | See connector docs |
| Endpoints | 8 |
| Connector key | gcp-pubsub |
Using Google Cloud Pub/Sub in a workflow ​
- Go to Connections and click New Connection.
- Pick Google Cloud Pub/Sub from the marketplace.
- Enter your credentials (see Authentication above for what's expected).
- In a workflow, drop an API Call node and select this connection.
- Pick the operation you need from the Operation dropdown — see the table below.
Available Endpoints ​
| Endpoint | Summary |
|---|---|
| GET /projects/{project}/topics | List topics |
| PUT /projects/{project}/topics/{topic} | Create a topic |
| DELETE /projects/{project}/topics/{topic} | Delete a topic |
| POST /projects/{project}/topics/{topic}:publish | Publish messages |
| GET /projects/{project}/subscriptions | List subscriptions |
| PUT /projects/{project}/subscriptions/{subscription} | Create a subscription |
| POST /projects/{project}/subscriptions/{subscription}:pull | Pull messages |
| POST /projects/{project}/subscriptions/{subscription}:acknowledge | Acknowledge messages |
Each endpoint has its own page with parameter details, an example
API Callnode configuration, and the response shape.