# Pub/Sub Lite API

## Service: pubsublite.googleapis.com

A [regional](https://cloud.google.com/pubsub/lite/docs/locations#regions_and_zones)
service name, `https://REGION_NAME-pubsublite.googleapis.com`, is
needed to create RPC client stubs.

## `https://docs.cloud.google.com/pubsub/lite/docs/reference/rpc/google.cloud.pubsublite.v1#google.cloud.pubsublite.v1.AdminService`

| Methods ||
|---|---|
| `` `https://docs.cloud.google.com/pubsub/lite/docs/reference/rpc/google.cloud.pubsublite.v1#google.cloud.pubsublite.v1.AdminService.CreateReservation` `` | Creates a new reservation. |
| `` `https://docs.cloud.google.com/pubsub/lite/docs/reference/rpc/google.cloud.pubsublite.v1#google.cloud.pubsublite.v1.AdminService.CreateSubscription` `` | Creates a new subscription. |
| `` `https://docs.cloud.google.com/pubsub/lite/docs/reference/rpc/google.cloud.pubsublite.v1#google.cloud.pubsublite.v1.AdminService.CreateTopic` `` | Creates a new topic. |
| `` `https://docs.cloud.google.com/pubsub/lite/docs/reference/rpc/google.cloud.pubsublite.v1#google.cloud.pubsublite.v1.AdminService.DeleteReservation` `` | Deletes the specified reservation. |
| `` `https://docs.cloud.google.com/pubsub/lite/docs/reference/rpc/google.cloud.pubsublite.v1#google.cloud.pubsublite.v1.AdminService.DeleteSubscription` `` | Deletes the specified subscription. |
| `` `https://docs.cloud.google.com/pubsub/lite/docs/reference/rpc/google.cloud.pubsublite.v1#google.cloud.pubsublite.v1.AdminService.DeleteTopic` `` | Deletes the specified topic. |
| `` `https://docs.cloud.google.com/pubsub/lite/docs/reference/rpc/google.cloud.pubsublite.v1#google.cloud.pubsublite.v1.AdminService.GetReservation` `` | Returns the reservation configuration. |
| `` `https://docs.cloud.google.com/pubsub/lite/docs/reference/rpc/google.cloud.pubsublite.v1#google.cloud.pubsublite.v1.AdminService.GetSubscription` `` | Returns the subscription configuration. |
| `` `https://docs.cloud.google.com/pubsub/lite/docs/reference/rpc/google.cloud.pubsublite.v1#google.cloud.pubsublite.v1.AdminService.GetTopic` `` | Returns the topic configuration. |
| `` `https://docs.cloud.google.com/pubsub/lite/docs/reference/rpc/google.cloud.pubsublite.v1#google.cloud.pubsublite.v1.AdminService.GetTopicPartitions` `` | Returns the partition information for the requested topic. |
| `` `https://docs.cloud.google.com/pubsub/lite/docs/reference/rpc/google.cloud.pubsublite.v1#google.cloud.pubsublite.v1.AdminService.ListReservationTopics` `` | Lists the topics attached to the specified reservation. |
| `` `https://docs.cloud.google.com/pubsub/lite/docs/reference/rpc/google.cloud.pubsublite.v1#google.cloud.pubsublite.v1.AdminService.ListReservations` `` | Returns the list of reservations for the given project. |
| `` `https://docs.cloud.google.com/pubsub/lite/docs/reference/rpc/google.cloud.pubsublite.v1#google.cloud.pubsublite.v1.AdminService.ListSubscriptions` `` | Returns the list of subscriptions for the given project. |
| `` `https://docs.cloud.google.com/pubsub/lite/docs/reference/rpc/google.cloud.pubsublite.v1#google.cloud.pubsublite.v1.AdminService.ListTopicSubscriptions` `` | Lists the subscriptions attached to the specified topic. |
| `` `https://docs.cloud.google.com/pubsub/lite/docs/reference/rpc/google.cloud.pubsublite.v1#google.cloud.pubsublite.v1.AdminService.ListTopics` `` | Returns the list of topics for the given project. |
| `` `https://docs.cloud.google.com/pubsub/lite/docs/reference/rpc/google.cloud.pubsublite.v1#google.cloud.pubsublite.v1.AdminService.SeekSubscription` `` | Performs an out-of-band seek for a subscription to a specified target, which may be timestamps or named positions within the message backlog. |
| `` `https://docs.cloud.google.com/pubsub/lite/docs/reference/rpc/google.cloud.pubsublite.v1#google.cloud.pubsublite.v1.AdminService.UpdateReservation` `` | Updates properties of the specified reservation. |
| `` `https://docs.cloud.google.com/pubsub/lite/docs/reference/rpc/google.cloud.pubsublite.v1#google.cloud.pubsublite.v1.AdminService.UpdateSubscription` `` | Updates properties of the specified subscription. |
| `` `https://docs.cloud.google.com/pubsub/lite/docs/reference/rpc/google.cloud.pubsublite.v1#google.cloud.pubsublite.v1.AdminService.UpdateTopic` `` | Updates properties of the specified topic. |

## `https://docs.cloud.google.com/pubsub/lite/docs/reference/rpc/google.cloud.pubsublite.v1#google.cloud.pubsublite.v1.CursorService`

| Methods ||
|---|---|
| `` `https://docs.cloud.google.com/pubsub/lite/docs/reference/rpc/google.cloud.pubsublite.v1#google.cloud.pubsublite.v1.CursorService.CommitCursor` `` | Updates the committed cursor. |
| `` `https://docs.cloud.google.com/pubsub/lite/docs/reference/rpc/google.cloud.pubsublite.v1#google.cloud.pubsublite.v1.CursorService.ListPartitionCursors` `` | Returns all committed cursor information for a subscription. |
| `` `https://docs.cloud.google.com/pubsub/lite/docs/reference/rpc/google.cloud.pubsublite.v1#google.cloud.pubsublite.v1.CursorService.StreamingCommitCursor` `` | Establishes a stream with the server for managing committed cursors. |

## `https://docs.cloud.google.com/pubsub/lite/docs/reference/rpc/google.cloud.pubsublite.v1#google.cloud.pubsublite.v1.KafkaService`

| Methods ||
|---|---|
| `` `https://docs.cloud.google.com/pubsub/lite/docs/reference/rpc/google.cloud.pubsublite.v1#google.cloud.pubsublite.v1.KafkaService.OpenKafkaStream` `` | Request made when opening a new kafka stream. |

## `https://docs.cloud.google.com/pubsub/lite/docs/reference/rpc/google.cloud.pubsublite.v1#google.cloud.pubsublite.v1.PartitionAssignmentService`

| Methods ||
|---|---|
| `` `https://docs.cloud.google.com/pubsub/lite/docs/reference/rpc/google.cloud.pubsublite.v1#google.cloud.pubsublite.v1.PartitionAssignmentService.AssignPartitions` `` | Assign partitions for this client to handle for the specified subscription. |

## `https://docs.cloud.google.com/pubsub/lite/docs/reference/rpc/google.cloud.pubsublite.v1#google.cloud.pubsublite.v1.PublisherService`

| Methods ||
|---|---|
| `` `https://docs.cloud.google.com/pubsub/lite/docs/reference/rpc/google.cloud.pubsublite.v1#google.cloud.pubsublite.v1.PublisherService.Publish` `` | Establishes a stream with the server for publishing messages. |

## `https://docs.cloud.google.com/pubsub/lite/docs/reference/rpc/google.cloud.pubsublite.v1#google.cloud.pubsublite.v1.SubscriberService`

| Methods ||
|---|---|
| `` `https://docs.cloud.google.com/pubsub/lite/docs/reference/rpc/google.cloud.pubsublite.v1#google.cloud.pubsublite.v1.SubscriberService.Subscribe` `` | Establishes a stream with the server for receiving messages. |

## `https://docs.cloud.google.com/pubsub/lite/docs/reference/rpc/google.cloud.pubsublite.v1#google.cloud.pubsublite.v1.TopicStatsService`

| Methods ||
|---|---|
| `` `https://docs.cloud.google.com/pubsub/lite/docs/reference/rpc/google.cloud.pubsublite.v1#google.cloud.pubsublite.v1.TopicStatsService.ComputeHeadCursor` `` | Compute the head cursor for the partition. |
| `` `https://docs.cloud.google.com/pubsub/lite/docs/reference/rpc/google.cloud.pubsublite.v1#google.cloud.pubsublite.v1.TopicStatsService.ComputeMessageStats` `` | Compute statistics about a range of messages in a given topic and partition. |
| `` `https://docs.cloud.google.com/pubsub/lite/docs/reference/rpc/google.cloud.pubsublite.v1#google.cloud.pubsublite.v1.TopicStatsService.ComputeTimeCursor` `` | Compute the corresponding cursor for a publish or event time in a topic partition. |

## `https://docs.cloud.google.com/pubsub/lite/docs/reference/rpc/google.longrunning#google.longrunning.Operations`

| Methods ||
|---|---|
| `` `https://docs.cloud.google.com/pubsub/lite/docs/reference/rpc/google.longrunning#google.longrunning.Operations.CancelOperation` `` | Starts asynchronous cancellation on a long-running operation. |
| `` `https://docs.cloud.google.com/pubsub/lite/docs/reference/rpc/google.longrunning#google.longrunning.Operations.DeleteOperation` `` | Deletes a long-running operation. |
| `` `https://docs.cloud.google.com/pubsub/lite/docs/reference/rpc/google.longrunning#google.longrunning.Operations.GetOperation` `` | Gets the latest state of a long-running operation. |
| `` `https://docs.cloud.google.com/pubsub/lite/docs/reference/rpc/google.longrunning#google.longrunning.Operations.ListOperations` `` | Lists operations that match the specified filter in the request. |
| `` `https://docs.cloud.google.com/pubsub/lite/docs/reference/rpc/google.longrunning#google.longrunning.Operations.WaitOperation` `` | Waits until the specified long-running operation is done or reaches at most a specified timeout, returning the latest state. |