Class: Google::Apis::BackupdrV1::BackupDrPlanConfig
- Inherits:
-
Object
- Object
- Google::Apis::BackupdrV1::BackupDrPlanConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/backupdr_v1/classes.rb,
lib/google/apis/backupdr_v1/representations.rb,
lib/google/apis/backupdr_v1/representations.rb
Overview
BackupDrPlanConfig has additional information about Google Cloud Backup and DR' s Plan backup configuration.
Instance Attribute Summary collapse
-
#backup_dr_plan_rules ⇒ Array<Google::Apis::BackupdrV1::BackupDrPlanRule>
Backup rules of the backup plan resource.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BackupDrPlanConfig
constructor
A new instance of BackupDrPlanConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BackupDrPlanConfig
Returns a new instance of BackupDrPlanConfig.
1076 1077 1078 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 1076 def initialize(**args) update!(**args) end |
Instance Attribute Details
#backup_dr_plan_rules ⇒ Array<Google::Apis::BackupdrV1::BackupDrPlanRule>
Backup rules of the backup plan resource.
Corresponds to the JSON property backupDrPlanRules
1074 1075 1076 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 1074 def backup_dr_plan_rules @backup_dr_plan_rules end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1081 1082 1083 |
# File 'lib/google/apis/backupdr_v1/classes.rb', line 1081 def update!(**args) @backup_dr_plan_rules = args[:backup_dr_plan_rules] if args.key?(:backup_dr_plan_rules) end |