Class: Google::Apis::AlloydbV1alpha::BackupDrBackupSource
- Inherits:
-
Object
- Object
- Google::Apis::AlloydbV1alpha::BackupDrBackupSource
- 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
Message describing a BackupDrBackupSource.
Instance Attribute Summary collapse
-
#backup ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BackupDrBackupSource
constructor
A new instance of BackupDrBackupSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BackupDrBackupSource
Returns a new instance of BackupDrBackupSource.
360 361 362 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 360 def initialize(**args) update!(**args) end |
Instance Attribute Details
#backup ⇒ String
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
358 359 360 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 358 def backup @backup end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
365 366 367 |
# File 'lib/google/apis/alloydb_v1alpha/classes.rb', line 365 def update!(**args) @backup = args[:backup] if args.key?(:backup) end |