View Source GoogleApi.BackupDR.V1.Model.BackupRule (google_api_backup_dr v0.12.0)

BackupRule binds the backup schedule to a retention policy.

Attributes

  • backupRetentionDays (type: integer(), default: nil) - Required. Configures the duration for which backup data will be kept. It is defined in “days”. The value should be greater than or equal to minimum enforced retention of the backup vault.
  • ruleId (type: String.t, default: nil) - Required. Immutable. The unique id of this BackupRule. The rule_id is unique per BackupPlan.The rule_id must start with a lowercase letter followed by up to 62 lowercase letters, numbers, or hyphens. Pattern, /a-z{,62}/.
  • standardSchedule (type: GoogleApi.BackupDR.V1.Model.StandardSchedule.t, default: nil) - Required. Defines a schedule that runs within the confines of a defined window of time.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.BackupDR.V1.Model.BackupRule{
  backupRetentionDays: integer() | nil,
  ruleId: String.t() | nil,
  standardSchedule: GoogleApi.BackupDR.V1.Model.StandardSchedule.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.