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

CreateSnapshotRequest

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

Request for the CreateSnapshot method.

interface CreateSnapshotRequest {
labels?: {
[key: string]: string;
}
;
subscription?: string;
}

§Properties

§
labels?: {
[key: string]: string;
}
[src]
§
subscription?: string
[src]

Required. The subscription whose backlog the snapshot retains. Specifically, the created snapshot is guaranteed to retain: (a) The existing backlog on the subscription. More precisely, this is defined as the messages in the subscription's backlog that are unacknowledged upon the successful completion of the CreateSnapshot request; as well as: (b) Any messages published to the subscription's topic following the successful completion of the CreateSnapshot request. Format is projects/{project}/subscriptions/{sub}.