@@ -3503,6 +3503,57 @@ def update!(**args)
3503
3503
end
3504
3504
end
3505
3505
3506
+ # BackupDRMetadata contains information about the backup and disaster recovery
3507
+ # metadata of a database resource.
3508
+ class StorageDatabasecenterPartnerapiV1mainBackupDrMetadata
3509
+ include Google ::Apis ::Core ::Hashable
3510
+
3511
+ # Configuration for automatic backups
3512
+ # Corresponds to the JSON property `backupConfiguration`
3513
+ # @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainBackupConfiguration]
3514
+ attr_accessor :backup_configuration
3515
+
3516
+ # A backup run.
3517
+ # Corresponds to the JSON property `backupRun`
3518
+ # @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainBackupRun]
3519
+ attr_accessor :backup_run
3520
+
3521
+ # BackupDRConfiguration to capture the backup and disaster recovery details of
3522
+ # database resource.
3523
+ # Corresponds to the JSON property `backupdrConfiguration`
3524
+ # @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainBackupDrConfiguration]
3525
+ attr_accessor :backupdr_configuration
3526
+
3527
+ # Required. Full resource name of this instance.
3528
+ # Corresponds to the JSON property `fullResourceName`
3529
+ # @return [String]
3530
+ attr_accessor :full_resource_name
3531
+
3532
+ # Required. Last time backup configuration was refreshed.
3533
+ # Corresponds to the JSON property `lastRefreshTime`
3534
+ # @return [String]
3535
+ attr_accessor :last_refresh_time
3536
+
3537
+ # DatabaseResourceId will serve as primary key for any resource ingestion event.
3538
+ # Corresponds to the JSON property `resourceId`
3539
+ # @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
3540
+ attr_accessor :resource_id
3541
+
3542
+ def initialize ( **args )
3543
+ update! ( **args )
3544
+ end
3545
+
3546
+ # Update properties of this object
3547
+ def update! ( **args )
3548
+ @backup_configuration = args [ :backup_configuration ] if args . key? ( :backup_configuration )
3549
+ @backup_run = args [ :backup_run ] if args . key? ( :backup_run )
3550
+ @backupdr_configuration = args [ :backupdr_configuration ] if args . key? ( :backupdr_configuration )
3551
+ @full_resource_name = args [ :full_resource_name ] if args . key? ( :full_resource_name )
3552
+ @last_refresh_time = args [ :last_refresh_time ] if args . key? ( :last_refresh_time )
3553
+ @resource_id = args [ :resource_id ] if args . key? ( :resource_id )
3554
+ end
3555
+ end
3556
+
3506
3557
# A backup run.
3507
3558
class StorageDatabasecenterPartnerapiV1mainBackupRun
3508
3559
include Google ::Apis ::Core ::Hashable
@@ -3635,10 +3686,16 @@ def update!(**args)
3635
3686
end
3636
3687
3637
3688
# DatabaseResourceFeed is the top level proto to be used to ingest different
3638
- # database resource level events into Condor platform. Next ID: 9
3689
+ # database resource level events into Condor platform. Next ID: 10
3639
3690
class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
3640
3691
include Google ::Apis ::Core ::Hashable
3641
3692
3693
+ # BackupDRMetadata contains information about the backup and disaster recovery
3694
+ # metadata of a database resource.
3695
+ # Corresponds to the JSON property `backupdrMetadata`
3696
+ # @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainBackupDrMetadata]
3697
+ attr_accessor :backupdr_metadata
3698
+
3642
3699
# Config based signal data. This is used to send signals to Condor which are
3643
3700
# based on the DB level configurations. These will be used to send signals for
3644
3701
# self managed databases.
@@ -3687,6 +3744,7 @@ def initialize(**args)
3687
3744
3688
3745
# Update properties of this object
3689
3746
def update! ( **args )
3747
+ @backupdr_metadata = args [ :backupdr_metadata ] if args . key? ( :backupdr_metadata )
3690
3748
@config_based_signal_data = args [ :config_based_signal_data ] if args . key? ( :config_based_signal_data )
3691
3749
@feed_timestamp = args [ :feed_timestamp ] if args . key? ( :feed_timestamp )
3692
3750
@feed_type = args [ :feed_type ] if args . key? ( :feed_type )
0 commit comments