google_api_pub_sub v0.25.0 GoogleApi.PubSub.V1.Model.CreateSnapshotRequest View Source

Request for the CreateSnapshot method.

Attributes

  • labels (type: map(), default: nil) - See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and managing labels</a>.
  • subscription (type: String.t, default: nil) - 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}.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.PubSub.V1.Model.CreateSnapshotRequest{
  labels: map(),
  subscription: String.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.