Class: Google::Apis::RedisV1beta1::BackupDrConfiguration
- Inherits:
-
Object
- Object
- Google::Apis::RedisV1beta1::BackupDrConfiguration
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/redis_v1beta1/classes.rb,
lib/google/apis/redis_v1beta1/representations.rb,
lib/google/apis/redis_v1beta1/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) ⇒ BackupDrConfiguration
constructor
A new instance of BackupDrConfiguration.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BackupDrConfiguration
Returns a new instance of BackupDrConfiguration.
379 380 381 |
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 379 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
376 377 378 |
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 376 def backupdr_managed @backupdr_managed end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
384 385 386 |
# File 'lib/google/apis/redis_v1beta1/classes.rb', line 384 def update!(**args) @backupdr_managed = args[:backupdr_managed] if args.key?(:backupdr_managed) end |