Google Cloud Pub/Sub · Capability
Google Cloud Pub/Sub API
The Cloud Pub/Sub API provides reliable, many-to-many, asynchronous messaging between applications. Publishers send messages to topics, and subscribers receive messages via subscriptions. It supports both push and pull delivery modes.
What You Can Do
GET
Listtopics
— Google Cloud Pub/Sub List topics
/projects/{projectId}/topics
GET
Gettopic
— Google Cloud Pub/Sub Get a topic
/projects/{projectId}/topics/{topicId}
PUT
Createtopic
— Google Cloud Pub/Sub Create a topic
/projects/{projectId}/topics/{topicId}
DELETE
Deletetopic
— Google Cloud Pub/Sub Delete a topic
/projects/{projectId}/topics/{topicId}
POST
Publishmessages
— Google Cloud Pub/Sub Publish messages
/projects/{projectId}/topics/{topicId}:publish
GET
Listsubscriptions
— Google Cloud Pub/Sub List subscriptions
/projects/{projectId}/subscriptions
GET
Getsubscription
— Google Cloud Pub/Sub Get a subscription
/projects/{projectId}/subscriptions/{subscriptionId}
PUT
Createsubscription
— Google Cloud Pub/Sub Create a subscription
/projects/{projectId}/subscriptions/{subscriptionId}
DELETE
Deletesubscription
— Google Cloud Pub/Sub Delete a subscription
/projects/{projectId}/subscriptions/{subscriptionId}
POST
Pullmessages
— Google Cloud Pub/Sub Pull messages
/projects/{projectId}/subscriptions/{subscriptionId}:pull
POST
Acknowledgemessages
— Google Cloud Pub/Sub Acknowledge messages
/projects/{projectId}/subscriptions/{subscriptionId}:acknowledge
GET
Listschemas
— Google Cloud Pub/Sub List schemas
/projects/{projectId}/schemas
POST
Createschema
— Google Cloud Pub/Sub Create a schema
/projects/{projectId}/schemas
MCP Tools
listtopics
Google Cloud Pub/Sub List topics
read-only
idempotent
gettopic
Google Cloud Pub/Sub Get a topic
read-only
idempotent
createtopic
Google Cloud Pub/Sub Create a topic
idempotent
deletetopic
Google Cloud Pub/Sub Delete a topic
idempotent
publishmessages
Google Cloud Pub/Sub Publish messages
listsubscriptions
Google Cloud Pub/Sub List subscriptions
read-only
idempotent
getsubscription
Google Cloud Pub/Sub Get a subscription
read-only
idempotent
createsubscription
Google Cloud Pub/Sub Create a subscription
idempotent
deletesubscription
Google Cloud Pub/Sub Delete a subscription
idempotent
pullmessages
Google Cloud Pub/Sub Pull messages
acknowledgemessages
Google Cloud Pub/Sub Acknowledge messages
listschemas
Google Cloud Pub/Sub List schemas
read-only
idempotent
createschema
Google Cloud Pub/Sub Create a schema