View Source GoogleApi.PubSub.V1.Model.CreateSnapshotRequest (google_api_pub_sub v0.38.0)

Request for the CreateSnapshot method.

Attributes

  • labels (type: map(), default: nil) - Optional. 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}.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.