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

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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.