GoogleApi.SQLAdmin.V1.Model.BackupRetentionSettings (google_api_sql_admin v0.71.0)

View Source

We currently only support backup retention by specifying the number of backups we will retain.

Attributes

  • retainedBackups (type: integer(), default: nil) - Depending on the value of retention_unit, this is used to determine if a backup needs to be deleted. If retention_unit is 'COUNT', we will retain this many backups.
  • retentionUnit (type: String.t, default: nil) - The unit that 'retained_backups' represents.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.SQLAdmin.V1.Model.BackupRetentionSettings{
  retainedBackups: integer() | nil,
  retentionUnit: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.