- REST Resource: v1.projects.schemas
- REST Resource: v1.projects.snapshots
- REST Resource: v1.projects.subscriptions
- REST Resource: v1.projects.topics
- REST Resource: v1.projects.topics.snapshots
- REST Resource: v1.projects.topics.subscriptions
Service: pubsub.googleapis.com
To call this service, we recommend that you use the Google-provided client libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.
Discovery document
A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:
Service endpoint
A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:
- https://pubsub.googleapis.com
Regional service endpoint
A regional service endpoint is a base URL that specifies the network address of an API service in a single region. A service that is available in multiple regions might have multiple regional endpoints. Select a location to see its regional service endpoint for this service.
REST Resource: v1.projects.schemas
| Methods | |
|---|---|
| commit | POST /v1/{name}:commitCommits a new schema revision to an existing schema. | 
| create | POST /v1/{parent}/schemasCreates a schema. | 
| delete | DELETE /v1/{name}Deletes a schema. | 
| deleteRevision | DELETE /v1/{name}:deleteRevisionDeletes a specific schema revision. | 
| get | GET /v1/{name}Gets a schema. | 
| list | GET /v1/{parent}/schemasLists schemas in a project. | 
| listRevisions | GET /v1/{name}:listRevisionsLists all schema revisions for the named schema. | 
| rollback | POST /v1/{name}:rollbackCreates a new schema revision that is a copy of the provided revision_id. | 
| validate | POST /v1/{parent}/schemas:validateValidates a schema. | 
| validateMessage | POST /v1/{parent}/schemas:validateMessageValidates a message against a schema. | 
REST Resource: v1.projects.snapshots
| Methods | |
|---|---|
| create | PUT /v1/{name}Creates a snapshot from the requested subscription. | 
| delete | DELETE /v1/{snapshot}Removes an existing snapshot. | 
| get | GET /v1/{snapshot}Gets the configuration details of a snapshot. | 
| getIamPolicy | GET /v1/{resource}:getIamPolicyGets the access control policy for a resource. | 
| list | GET /v1/{project}/snapshotsLists the existing snapshots. | 
| patch | PATCH /v1/{snapshot.name}Updates an existing snapshot by updating the fields specified in the update mask. | 
| setIamPolicy | POST /v1/{resource}:setIamPolicySets the access control policy on the specified resource. | 
| testIamPermissions | POST /v1/{resource}:testIamPermissionsReturns permissions that a caller has on the specified resource. | 
REST Resource: v1.projects.subscriptions
| Methods | |
|---|---|
| acknowledge | POST /v1/{subscription}:acknowledgeAcknowledges the messages associated with the ack_idsin theAcknowledgeRequest. | 
| create | PUT /v1/{name}Creates a subscription to a given topic. | 
| delete | DELETE /v1/{subscription}Deletes an existing subscription. | 
| detach | POST /v1/{subscription}:detachDetaches a subscription from this topic. | 
| get | GET /v1/{subscription}Gets the configuration details of a subscription. | 
| getIamPolicy | GET /v1/{resource}:getIamPolicyGets the access control policy for a resource. | 
| list | GET /v1/{project}/subscriptionsLists matching subscriptions. | 
| modifyAckDeadline | POST /v1/{subscription}:modifyAckDeadlineModifies the ack deadline for a specific message. | 
| modifyPushConfig | POST /v1/{subscription}:modifyPushConfigModifies the PushConfigfor a specified subscription. | 
| patch | PATCH /v1/{subscription.name}Updates an existing subscription by updating the fields specified in the update mask. | 
| pull | POST /v1/{subscription}:pullPulls messages from the server. | 
| seek | POST /v1/{subscription}:seekSeeks an existing subscription to a point in time or to a given snapshot, whichever is provided in the request. | 
| setIamPolicy | POST /v1/{resource}:setIamPolicySets the access control policy on the specified resource. | 
| testIamPermissions | POST /v1/{resource}:testIamPermissionsReturns 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}:getIamPolicyGets the access control policy for a resource. | 
| list | GET /v1/{project}/topicsLists matching topics. | 
| patch | PATCH /v1/{topic.name}Updates an existing topic by updating the fields specified in the update mask. | 
| publish | POST /v1/{topic}:publishAdds one or more messages to the topic. | 
| setIamPolicy | POST /v1/{resource}:setIamPolicySets the access control policy on the specified resource. | 
| testIamPermissions | POST /v1/{resource}:testIamPermissionsReturns permissions that a caller has on the specified resource. | 
REST Resource: v1.projects.topics.snapshots
| Methods | |
|---|---|
| list | GET /v1/{topic}/snapshotsLists the names of the snapshots on this topic. | 
REST Resource: v1.projects.topics.subscriptions
| Methods | |
|---|---|
| list | GET /v1/{topic}/subscriptionsLists the names of the attached subscriptions on this topic. |