Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

SeekSubscriptionRequest

import type { SeekSubscriptionRequest } from "https://googleapis.deno.dev/v1/pubsublite:v1.ts";

Request for SeekSubscription.

interface SeekSubscriptionRequest {
namedTarget?: "NAMED_TARGET_UNSPECIFIED" | "TAIL" | "HEAD";
timeTarget?: TimeTarget;
}

§Properties

§
namedTarget?: "NAMED_TARGET_UNSPECIFIED" | "TAIL" | "HEAD"
[src]

Seek to a named position with respect to the message backlog.

§
timeTarget?: TimeTarget
[src]

Seek to the first message whose publish or event time is greater than or equal to the specified query time. If no such message can be located, will seek to the end of the message backlog.