retainDays property

  1. @TagNumber(9)
int get retainDays

The age (in days) after which this Backup will be automatically deleted. Must be an integer value >= 0:

  • If 0, no automatic deletion will occur for this Backup.
  • If not 0, this must be >= google.cloud.gkebackup.v1.Backup.delete_lock_days and <= 365.

Once a Backup is created, this value may only be increased.

Defaults to the parent BackupPlan's google.cloud.gkebackup.v1.BackupPlan.RetentionPolicy.backup_retain_days value.

Implementation

@$pb.TagNumber(9)
$core.int get retainDays => $_getIZ(8);
  1. @TagNumber(9)
set retainDays (int v)

Implementation

@$pb.TagNumber(9)
set retainDays($core.int v) { $_setSignedInt32(8, v); }