Class: Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupDrConfiguration
- Inherits:
-
Object
- Object
- Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupDrConfiguration
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/alloydb_v1/classes.rb,
lib/google/apis/alloydb_v1/representations.rb,
lib/google/apis/alloydb_v1/representations.rb
Overview
BackupDRConfiguration to capture the backup and disaster recovery details of database resource.
Instance Attribute Summary collapse
-
#backupdr_managed ⇒ Boolean
(also: #backupdr_managed?)
Indicates if the resource is managed by BackupDR.
Instance Method Summary collapse
-
#initialize(**args) ⇒ StorageDatabasecenterPartnerapiV1mainBackupDrConfiguration
constructor
A new instance of StorageDatabasecenterPartnerapiV1mainBackupDrConfiguration.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ StorageDatabasecenterPartnerapiV1mainBackupDrConfiguration
Returns a new instance of StorageDatabasecenterPartnerapiV1mainBackupDrConfiguration.
3543 3544 3545 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 3543 def initialize(**args) update!(**args) end |
Instance Attribute Details
#backupdr_managed ⇒ Boolean Also known as: backupdr_managed?
Indicates if the resource is managed by BackupDR.
Corresponds to the JSON property backupdrManaged
3540 3541 3542 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 3540 def backupdr_managed @backupdr_managed end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3548 3549 3550 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 3548 def update!(**args) @backupdr_managed = args[:backupdr_managed] if args.key?(:backupdr_managed) end |