pubsubLite
import { pubsubLite } from "https://googleapis.deno.dev/v1/pubsublite:v1.ts";
§Methods
Starts asynchronous cancellation on a long-running operation. The server
makes a best effort to cancel the operation, but success is not guaranteed.
If the server doesn't support this method, it returns
google.rpc.Code.UNIMPLEMENTED
. Clients can use Operations.GetOperation or
other methods to check whether the cancellation succeeded or whether the
operation completed despite cancellation. On successful cancellation, the
operation is not deleted; instead, it becomes an operation with an
Operation.error value with a google.rpc.Status.code of 1, corresponding to
Code.CANCELLED
.
The name of the operation resource to be cancelled.
Deletes a long-running operation. This method indicates that the client is
no longer interested in the operation result. It does not cancel the
operation. If the server doesn't support this method, it returns
google.rpc.Code.UNIMPLEMENTED
.
The name of the operation resource to be deleted.
Lists operations that match the specified filter in the request. If the
server doesn't support this method, it returns UNIMPLEMENTED
.
The name of the operation's parent resource.
Creates a new reservation.
Required. The parent location in which to create the reservation. Structured like projects/{project_number}/locations/{location}
.
Returns the reservation configuration.
Required. The name of the reservation whose configuration to return. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
Returns the list of reservations for the given project.
Required. The parent whose reservations are to be listed. Structured like projects/{project_number}/locations/{location}
.
Updates properties of the specified reservation.
The name of the reservation. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
Lists the topics attached to the specified reservation.
Required. The name of the reservation whose topics to list. Structured like: projects/{project_number}/locations/{location}/reservations/{reservation_id}
Creates a new subscription.
Required. The parent location in which to create the subscription. Structured like projects/{project_number}/locations/{location}
.
Returns the subscription configuration.
Required. The name of the subscription whose configuration to return.
Returns the list of subscriptions for the given project.
Required. The parent whose subscriptions are to be listed. Structured like projects/{project_number}/locations/{location}
.
Updates properties of the specified subscription.
The name of the subscription. Structured like: projects/{project_number}/locations/{location}/subscriptions/{subscription_id}
Performs an out-of-band seek for a subscription to a specified target, which may be timestamps or named positions within the message backlog. Seek translates these targets to cursors for each partition and orchestrates subscribers to start consuming messages from these seek cursors. If an operation is returned, the seek has been registered and subscribers will eventually receive messages from the seek cursors (i.e. eventual consistency), as long as they are using a minimum supported client library version and not a system that tracks cursors independently of Pub/Sub Lite (e.g. Apache Beam, Dataflow, Spark). The seek operation will fail for unsupported clients. If clients would like to know when subscribers react to the seek (or not), they can poll the operation. The seek operation will succeed and complete once subscribers are ready to receive messages from the seek cursors for all partitions of the topic. This means that the seek operation will not complete until all subscribers come online. If the previous seek operation has not yet completed, it will be aborted and the new invocation of seek will supersede it.
Required. The name of the subscription to seek.
Creates a new topic.
Required. The parent location in which to create the topic. Structured like projects/{project_number}/locations/{location}
.
Returns the partition information for the requested topic.
Required. The topic whose partition information to return.
Returns the list of topics for the given project.
Required. The parent whose topics are to be listed. Structured like projects/{project_number}/locations/{location}
.
Updates properties of the specified topic.
The name of the topic. Structured like: projects/{project_number}/locations/{location}/topics/{topic_id}
Lists the subscriptions attached to the specified topic.
Required. The name of the topic whose subscriptions to list.
Updates the committed cursor.
The subscription for which to update the cursor.
Returns all committed cursor information for a subscription.
Required. The subscription for which to retrieve cursors. Structured like projects/{project_number}/locations/{location}/subscriptions/{subscription_id}
.
Compute the head cursor for the partition. The head cursor's offset is guaranteed to be less than or equal to all messages which have not yet been acknowledged as published, and greater than the offset of any message whose publish has already been acknowledged. It is zero if there have never been messages in the partition.
Required. The topic for which we should compute the head cursor.
Compute statistics about a range of messages in a given topic and partition.
Required. The topic for which we should compute message stats.
Compute the corresponding cursor for a publish or event time in a topic partition.
Required. The topic for which we should compute the cursor.