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?: {}
[src][key: string]: string;
Optional. See Creating and managing labels.
§
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}
.