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 is used to associate a backup schedule with a data retention policy.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBackupRule\u003c/code\u003e has properties such as \u003ccode\u003eBackupRetentionDays\u003c/code\u003e, which specifies how long backup data is kept, and \u003ccode\u003eRuleId\u003c/code\u003e, which is a unique identifier for each backup rule within a \u003ccode\u003eBackupPlan\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eStandardSchedule\u003c/code\u003e property is used to define a schedule that operates within a defined timeframe, and is required to be set.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eBackupRule\u003c/code\u003e is part of the namespace \u003ccode\u003eGoogle.Cloud.BackupDR.V1\u003c/code\u003e and is found in the \u003ccode\u003eGoogle.Cloud.BackupDR.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,[]]