Show / Hide Table of Contents

Class BackupRule

BackupRule binds the backup schedule to a retention policy.

Inheritance
object
BackupRule
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Backupdr.v1.Data
Assembly: Google.Apis.Backupdr.v1.dll
Syntax
public class BackupRule : IDirectResponseSchema

Properties

BackupRetentionDays

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. Minimum value is 1 and maximum value is 90 for hourly backups. Minimum value is 1 and maximum value is 186 for daily backups. Minimum value is 7 and maximum value is 366 for weekly backups. Minimum value is 30 and maximum value is 732 for monthly backups. Minimum value is 365 and maximum value is 36159 for yearly backups.

Declaration
[JsonProperty("backupRetentionDays")]
public virtual int? BackupRetentionDays { get; set; }
Property Value
Type Description
int?

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

RuleId

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}/.

Declaration
[JsonProperty("ruleId")]
public virtual string RuleId { get; set; }
Property Value
Type Description
string

StandardSchedule

Required. Defines a schedule that runs within the confines of a defined window of time.

Declaration
[JsonProperty("standardSchedule")]
public virtual StandardSchedule StandardSchedule { get; set; }
Property Value
Type Description
StandardSchedule

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX