Class: Google::Apis::AlloydbV1::BackupDrBackupSource

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

Message describing a BackupDrBackupSource.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BackupDrBackupSource

Returns a new instance of BackupDrBackupSource.



318
319
320
# File 'lib/google/apis/alloydb_v1/classes.rb', line 318

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#backupString

Required. The name of the backup resource with the format: * projects/project /locations/location/backupVaults/backupvault_id/dataSources/datasource_id /backups/backup_id Corresponds to the JSON property backup

Returns:

  • (String)


316
317
318
# File 'lib/google/apis/alloydb_v1/classes.rb', line 316

def backup
  @backup
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



323
324
325
# File 'lib/google/apis/alloydb_v1/classes.rb', line 323

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