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 36159 for custom retention
on-demand backup.
Minimum and maximum values are workload specific for all other rules.
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][a-z0-9-]{,62}/.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eBackupRule\u003c/code\u003e class in the Google Cloud Backup and DR Service v1 API is used to associate a backup schedule with a retention policy.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBackupRule\u003c/code\u003e implements interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBackupRetentionDays\u003c/code\u003e property determines the duration for which backup data is retained, with minimum and maximum values that depend on the backup frequency, such as hourly, daily, weekly, monthly, or yearly.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRuleId\u003c/code\u003e property is a unique identifier for a \u003ccode\u003eBackupRule\u003c/code\u003e within a \u003ccode\u003eBackupPlan\u003c/code\u003e, following a specific naming pattern that must begin with a lowercase letter.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eStandardSchedule\u003c/code\u003e property allows for the definition of a backup schedule that operates within a specified time window.\u003c/p\u003e\n"]]],[],null,[]]