Class: Google::Apis::RedisV1beta1::BackupDrConfiguration

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_managedBoolean Also known as: backupdr_managed?

Indicates if the resource is managed by BackupDR. Corresponds to the JSON property backupdrManaged

Returns:

  • (Boolean)


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