View Source GoogleApi.PubSubLite.V1.Model.RetentionConfig (google_api_pub_sub_lite v0.10.0)

The settings for a topic's message retention.

Attributes

  • perPartitionBytes (type: String.t, default: nil) - The provisioned storage, in bytes, per partition. If the number of bytes stored in any of the topic's partitions grows beyond this value, older messages will be dropped to make room for newer ones, regardless of the value of period.
  • period (type: String.t, default: nil) - How long a published message is retained. If unset, messages will be retained as long as the bytes retained for each partition is below per_partition_bytes.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.PubSubLite.V1.Model.RetentionConfig{
  perPartitionBytes: String.t() | nil,
  period: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.