Cloud Pub/Sub API

Service: pubsub.googleapis.com

All URIs below are relative to https://pubsub.googleapis.com

This service provides the following discovery document:

REST Resource: v1.projects.snapshots

BETA: This feature is part of a beta release. This API might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.

Methods
create PUT /v1/{name}
Creates a snapshot from the requested subscription.
delete DELETE /v1/{snapshot}
Removes an existing snapshot.
getIamPolicy GET /v1/{resource}:getIamPolicy
Gets the access control policy for a resource.
list GET /v1/{project}/snapshots
Lists the existing snapshots.
setIamPolicy POST /v1/{resource}:setIamPolicy
Sets the access control policy on the specified resource.
testIamPermissions POST /v1/{resource}:testIamPermissions
Returns permissions that a caller has on the specified resource.

REST Resource: v1.projects.subscriptions

Methods
acknowledge POST /v1/{subscription}:acknowledge
Acknowledges the messages associated with the ack_ids in the AcknowledgeRequest.
create PUT /v1/{name}
Creates a subscription to a given topic.
delete DELETE /v1/{subscription}
Deletes an existing subscription.
get GET /v1/{subscription}
Gets the configuration details of a subscription.
getIamPolicy GET /v1/{resource}:getIamPolicy
Gets the access control policy for a resource.
list GET /v1/{project}/subscriptions
Lists matching subscriptions.
modifyAckDeadline POST /v1/{subscription}:modifyAckDeadline
Modifies the ack deadline for a specific message.
modifyPushConfig POST /v1/{subscription}:modifyPushConfig
Modifies the PushConfig for a specified subscription.
patch PATCH /v1/{subscription.name}
Updates an existing subscription.
pull POST /v1/{subscription}:pull
Pulls messages from the server.
seek POST /v1/{subscription}:seek
Seeks an existing subscription to a point in time or to a given snapshot, whichever is provided in the request.
setIamPolicy POST /v1/{resource}:setIamPolicy
Sets the access control policy on the specified resource.
testIamPermissions POST /v1/{resource}:testIamPermissions
Returns permissions that a caller has on the specified resource.

REST Resource: v1.projects.topics

Methods
create PUT /v1/{name}
Creates the given topic with the given name.
delete DELETE /v1/{topic}
Deletes the topic with the given name.
get GET /v1/{topic}
Gets the configuration of a topic.
getIamPolicy GET /v1/{resource}:getIamPolicy
Gets the access control policy for a resource.
list GET /v1/{project}/topics
Lists matching topics.
publish POST /v1/{topic}:publish
Adds one or more messages to the topic.
setIamPolicy POST /v1/{resource}:setIamPolicy
Sets the access control policy on the specified resource.
testIamPermissions POST /v1/{resource}:testIamPermissions
Returns permissions that a caller has on the specified resource.

REST Resource: v1.projects.topics.subscriptions

Methods
list GET /v1/{topic}/subscriptions
Lists the names of the subscriptions on this topic.
Was this page helpful? Let us know how we did:

Send feedback about...

Cloud Pub/Sub