Class: Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainBackupDrConfiguration

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/alloydb_v1alpha/classes.rb,
lib/google/apis/alloydb_v1alpha/representations.rb,
lib/google/apis/alloydb_v1alpha/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) ⇒ StorageDatabasecenterPartnerapiV1mainBackupDrConfiguration

Returns a new instance of StorageDatabasecenterPartnerapiV1mainBackupDrConfiguration.



4008
4009
4010
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 4008

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)


4005
4006
4007
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 4005

def backupdr_managed
  @backupdr_managed
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4013
4014
4015
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 4013

def update!(**args)
  @backupdr_managed = args[:backupdr_managed] if args.key?(:backupdr_managed)
end