Class: Google::Apis::DatabasecenterV1beta::BackupDrConfig
- Inherits:
-
Object
- Object
- Google::Apis::DatabasecenterV1beta::BackupDrConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/databasecenter_v1beta/classes.rb,
lib/google/apis/databasecenter_v1beta/representations.rb,
lib/google/apis/databasecenter_v1beta/representations.rb
Overview
BackupDRConfig 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) ⇒ BackupDrConfig
constructor
A new instance of BackupDrConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BackupDrConfig
Returns a new instance of BackupDrConfig.
469 470 471 |
# File 'lib/google/apis/databasecenter_v1beta/classes.rb', line 469 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
466 467 468 |
# File 'lib/google/apis/databasecenter_v1beta/classes.rb', line 466 def backupdr_managed @backupdr_managed end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
474 475 476 |
# File 'lib/google/apis/databasecenter_v1beta/classes.rb', line 474 def update!(**args) @backupdr_managed = args[:backupdr_managed] if args.key?(:backupdr_managed) end |