View Source GoogleApi.Redis.V1beta1.Model.RetentionSettings (google_api_redis v0.48.0)

Attributes

  • durationBasedRetention (type: String.t, default: nil) - Duration based retention period i.e. 172800 seconds (2 days)
  • quantityBasedRetention (type: integer(), default: nil) -
  • retentionUnit (type: String.t, default: nil) - The unit that 'retained_backups' represents.
  • timeBasedRetention (type: String.t, default: nil) -
  • timestampBasedRetentionTime (type: DateTime.t, default: nil) - Timestamp based retention period i.e. 2024-05-01T00:00:00Z

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Redis.V1beta1.Model.RetentionSettings{
  durationBasedRetention: String.t() | nil,
  quantityBasedRetention: integer() | nil,
  retentionUnit: String.t() | nil,
  timeBasedRetention: String.t() | nil,
  timestampBasedRetentionTime: DateTime.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.