--- title: 'Google Cloud Pub/Sub' description: 'Publish and subscribe to real-time messaging with Google Cloud Pub/Sub.' --- # 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 1. Go to **Connections** and click **New Connection**. 2. Pick **Google Cloud Pub/Sub** from the marketplace. 3. Enter your credentials (see Authentication above for what's expected). 4. In a workflow, drop an **API Call** node and select this connection. 5. Pick the operation you need from the Operation dropdown — see the table below. ## Available Endpoints | Endpoint | Summary | |---|---| | [GET /projects/{project}/topics](./get_projects_project_topics_cloud_listtopics) | List topics | | [PUT /projects/{project}/topics/{topic}](./put_projects_project_topics_topic_cloud_createtopic) | Create a topic | | [DELETE /projects/{project}/topics/{topic}](./delete_projects_project_topics_topic_cloud_deletetopic) | Delete a topic | | [POST /projects/{project}/topics/{topic}:publish](./post_projects_project_topics_topic_publish_cloud_publishmessages) | Publish messages | | [GET /projects/{project}/subscriptions](./get_projects_project_subscriptions_cloud_listsubscriptions) | List subscriptions | | [PUT /projects/{project}/subscriptions/{subscription}](./put_projects_project_subscriptions_subscription_cloud_createsubscription) | Create a subscription | | [POST /projects/{project}/subscriptions/{subscription}:pull](./post_projects_project_subscriptions_subscription_pull_cloud_pullmessages) | Pull messages | | [POST /projects/{project}/subscriptions/{subscription}:acknowledge](./post_projects_project_subscriptions_subscription_acknowledge_cloud_acknowledgemessages) | Acknowledge messages | > Each endpoint has its own page with parameter details, an example > `API Call` node configuration, and the response shape.