SnapshotArgs constructor
const
SnapshotArgs({})
Creates a new SnapshotArgs.
labels Optional. See Creating and managing labels.
project Optional.
snapshotId Required.
subscription 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}.
Implementation
const SnapshotArgs({
this.labels,
this.project,
required this.snapshotId,
required this.subscription,
});