@@ -3503,6 +3503,57 @@ def update!(**args)
35033503 end
35043504 end
35053505
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+
35063557 # A backup run.
35073558 class StorageDatabasecenterPartnerapiV1mainBackupRun
35083559 include Google ::Apis ::Core ::Hashable
@@ -3635,10 +3686,16 @@ def update!(**args)
36353686 end
36363687
36373688 # 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
36393690 class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
36403691 include Google ::Apis ::Core ::Hashable
36413692
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+
36423699 # Config based signal data. This is used to send signals to Condor which are
36433700 # based on the DB level configurations. These will be used to send signals for
36443701 # self managed databases.
@@ -3687,6 +3744,7 @@ def initialize(**args)
36873744
36883745 # Update properties of this object
36893746 def update! ( **args )
3747+ @backupdr_metadata = args [ :backupdr_metadata ] if args . key? ( :backupdr_metadata )
36903748 @config_based_signal_data = args [ :config_based_signal_data ] if args . key? ( :config_based_signal_data )
36913749 @feed_timestamp = args [ :feed_timestamp ] if args . key? ( :feed_timestamp )
36923750 @feed_type = args [ :feed_type ] if args . key? ( :feed_type )
0 commit comments