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

Request for the CreateSnapshot method.

Attributes

  • labels (type: map(), default: nil) - See Creating and managing labels.
  • 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

Link to this type

t()

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

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.