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

Request for the `CreateSnapshot` method.<br><br> <b>BETA:</b> 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.

Attributes

  • labels (%{optional(String.t) => String.t}): See <a href="https://cloud.google.com/pubsub/docs/labels"> Creating and managing labels</a>. Defaults to: null.
  • subscription (String.t): 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}`. Defaults to: null.

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: any()
}

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.