Class: Google::Apis::AlloydbV1beta::BackupDrBackupSource

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



353
354
355
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 353

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)


351
352
353
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 351

def backup
  @backup
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



358
359
360
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 358

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