View Source GoogleApi.BackupDR.V1.Model.BackupRule (google_api_backup_dr v0.6.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. -
backupVault
(type:String.t
, default:nil
) - Optional. TODO b/341576760: Remove deprecated BV and Datasource field form BP and BPA once UI removed all dependencies on them Required. Resource name of backup vault which will be used as storage location for backups. Format: projects/{project}/locations/{location}/backupVaults/{backupvault} -
backupVaultServiceAccount
(type:String.t
, default:nil
) - Output only. TODO b/341576760: Remove deprecated BV and Datasource field form BP and BPA once UI removed all dependencies on them Output only. The Google Cloud Platform Service Account to be used by the BackupVault for taking backups. Specify the email address of the Backup Vault Service Account. -
ruleId
(type:String.t
, default:nil
) - Required. Immutable. The unique id of thisBackupRule
. Therule_id
is unique perBackupPlan
.Therule_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, backupVault: String.t() | nil, backupVaultServiceAccount: String.t() | nil, ruleId: String.t() | nil, standardSchedule: GoogleApi.BackupDR.V1.Model.StandardSchedule.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.