Struct google_pubsub1::CreateSnapshotRequest[][src]

pub struct CreateSnapshotRequest {
    pub labels: Option<HashMap<String, String>>,
    pub subscription: Option<String>,
}

Request for the CreateSnapshot method.

BETA: This feature is part of a beta release. This API might be changed in backward-incompatible ways and is not recommended for production use. It is not subject to any SLA or deprecation policy.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

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}.

Trait Implementations

impl Default for CreateSnapshotRequest
[src]

Returns the "default value" for a type. Read more

impl Clone for CreateSnapshotRequest
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for CreateSnapshotRequest
[src]

Formats the value using the given formatter. Read more

impl RequestValue for CreateSnapshotRequest
[src]

Auto Trait Implementations