Pub/Sub Lite API

Service: pubsublite.googleapis.com

We recommend that you call this service using Google-provided client libraries. If your application needs to call this service using your own libraries, you should use the following information when making the API requests.

Service endpoint

A service endpoint is a base URL that specifies the network address of an API service. One service may have multiple service endpoints. This service has the following service endpoints and all URIs below are relative to these service endpoints:

  • https://us-central1-pubsublite.googleapis.com
  • https://europe-west1-pubsublite.googleapis.com

REST Resource: v1.admin.projects.locations.subscriptions

Methods
create POST /v1/admin/{parent=projects/*/locations/*}/subscriptions
Creates a new subscription.
delete DELETE /v1/admin/{name=projects/*/locations/*/subscriptions/*}
Deletes the specified subscription.
get GET /v1/admin/{name=projects/*/locations/*/subscriptions/*}
Returns the subscription configuration.
list GET /v1/admin/{parent=projects/*/locations/*}/subscriptions
Returns the list of subscriptions for the given project.
patch PATCH /v1/admin/{subscription.name=projects/*/locations/*/subscriptions/*}
Updates properties of the specified subscription.

REST Resource: v1.admin.projects.locations.topics

Methods
create POST /v1/admin/{parent=projects/*/locations/*}/topics
Creates a new topic.
delete DELETE /v1/admin/{name=projects/*/locations/*/topics/*}
Deletes the specified topic.
get GET /v1/admin/{name=projects/*/locations/*/topics/*}
Returns the topic configuration.
getPartitions GET /v1/admin/{name=projects/*/locations/*/topics/*}/partitions
Returns the partition information for the requested topic.
list GET /v1/admin/{parent=projects/*/locations/*}/topics
Returns the list of topics for the given project.
patch PATCH /v1/admin/{topic.name=projects/*/locations/*/topics/*}
Updates properties of the specified topic.

REST Resource: v1.admin.projects.locations.topics.subscriptions

Methods
list GET /v1/admin/{name=projects/*/locations/*/topics/*}/subscriptions
Lists the subscriptions attached to the specified topic.

REST Resource: v1.cursor.projects.locations.subscriptions.cursors

Methods
list GET /v1/cursor/{parent=projects/*/locations/*/subscriptions/*}/cursors
Returns all committed cursor information for a subscription.