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.
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 binds a backup schedule to a retention policy.\u003c/p\u003e\n"],["\u003cp\u003eVersion 2.1.0 is the latest version of the \u003ccode\u003eBackupRule\u003c/code\u003e class, and it is accessible through the provided link, alongside earlier versions such as 2.0.0, 1.2.0, 1.1.0, and 1.0.0-beta02.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBackupRule\u003c/code\u003e includes properties like \u003ccode\u003eBackupRetentionDays\u003c/code\u003e to configure the duration backup data is kept and \u003ccode\u003eRuleId\u003c/code\u003e for the unique identifier of each rule, which must be unique per \u003ccode\u003eBackupPlan\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBackupRule\u003c/code\u003e also contains \u003ccode\u003eStandardSchedule\u003c/code\u003e which defines a schedule that runs within a specific window of time.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBackupRule\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and inherits from the base \u003ccode\u003eobject\u003c/code\u003e class, providing various functionalities and methods.\u003c/p\u003e\n"]]],[],null,[]]