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.



342
343
344
# File 'lib/google/apis/alloydb_v1/classes.rb', line 342

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)


340
341
342
# File 'lib/google/apis/alloydb_v1/classes.rb', line 340

def backup
  @backup
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



347
348
349
# File 'lib/google/apis/alloydb_v1/classes.rb', line 347

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