googleapis.com

Provides reliable, many-to-many, asynchronous messaging between applications.

🔑 oauth2 16 endpoints analyticsmedia
📄 Docs 📋 OpenAPI spec 🔬 Try in Swagger UI

SDKs by language (10 total)

mcp-toolbox-sdk-python ✓ Official
pip install mcp-toolbox-sdk-python
python-storage ✓ Official
pip install python-storage
python-aiplatform ✓ Official
pip install python-aiplatform
python-genai ✓ Official
pip install python-genai
js-genai ✓ Official
npm install js-genai
go-genai ✓ Official
go get github.com/googleapis/go-genai
sdk-platform-java ✓ Official
# Maven: see https://github.com/googleapis/sdk-platform-java
java-genai ✓ Official
# Maven: see https://github.com/googleapis/java-genai
dotnet-genai ✓ Official
# See https://github.com/googleapis/dotnet-genai
gax-java ✓ Official
# See https://github.com/googleapis/gax-java
curl examples
Gets the configuration of a topic.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://pubsub.googleapis.com/v1beta2/{topic}
Gets the configuration details of a subscription.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://pubsub.googleapis.com/v1beta2/{subscription}
Lists matching topics.
curl \
  -H "Authorization: Bearer $ACCESS_TOKEN" \
  https://pubsub.googleapis.com/v1beta2/{project}/topics
Endpoints (16 total)
GET
/v1beta2/{topic}
Gets the configuration of a topic.
GET
/v1beta2/{subscription}
Gets the configuration details of a subscription.
GET
/v1beta2/{project}/topics
Lists matching topics.
GET
/v1beta2/{topic}/subscriptions
Lists the name of the subscriptions for this topic.
GET
/v1beta2/{project}/subscriptions
Lists matching subscriptions.
GET
/v1beta2/{resource}:getIamPolicy
Gets the access control policy for a resource. Returns an empty policy if the…
POST
/v1beta2/{topic}:publish
Adds one or more messages to the topic. Returns `NOT_FOUND` if the topic does…
POST
/v1beta2/{subscription}:pull
Pulls messages from the server. Returns an empty list if there are no message…
POST
/v1beta2/{resource}:setIamPolicy
Sets the access control policy on the specified resource. Replaces any existi…
POST
/v1beta2/{subscription}:acknowledge
Acknowledges the messages associated with the `ack_ids` in the `AcknowledgeRe…
POST
/v1beta2/{resource}:testIamPermissions
Returns permissions that a caller has on the specified resource. If the resou…
POST
/v1beta2/{subscription}:modifyPushConfig
Modifies the `PushConfig` for a specified subscription. This may be used to c…
At a glance
Total SDKs10
Languages6
Endpoints16
Authoauth2
Categories2
https://pubsub.googleapis.com