@@ -3309,6 +3309,57 @@ def update!(**args)
33093309 end
33103310 end
33113311
3312+ # BackupDRMetadata contains information about the backup and disaster recovery
3313+ # metadata of a database resource.
3314+ class StorageDatabasecenterPartnerapiV1mainBackupDrMetadata
3315+ include Google ::Apis ::Core ::Hashable
3316+
3317+ # Configuration for automatic backups
3318+ # Corresponds to the JSON property `backupConfiguration`
3319+ # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupConfiguration]
3320+ attr_accessor :backup_configuration
3321+
3322+ # A backup run.
3323+ # Corresponds to the JSON property `backupRun`
3324+ # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupRun]
3325+ attr_accessor :backup_run
3326+
3327+ # BackupDRConfiguration to capture the backup and disaster recovery details of
3328+ # database resource.
3329+ # Corresponds to the JSON property `backupdrConfiguration`
3330+ # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupDrConfiguration]
3331+ attr_accessor :backupdr_configuration
3332+
3333+ # Required. Full resource name of this instance.
3334+ # Corresponds to the JSON property `fullResourceName`
3335+ # @return [String]
3336+ attr_accessor :full_resource_name
3337+
3338+ # Required. Last time backup configuration was refreshed.
3339+ # Corresponds to the JSON property `lastRefreshTime`
3340+ # @return [String]
3341+ attr_accessor :last_refresh_time
3342+
3343+ # DatabaseResourceId will serve as primary key for any resource ingestion event.
3344+ # Corresponds to the JSON property `resourceId`
3345+ # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
3346+ attr_accessor :resource_id
3347+
3348+ def initialize ( **args )
3349+ update! ( **args )
3350+ end
3351+
3352+ # Update properties of this object
3353+ def update! ( **args )
3354+ @backup_configuration = args [ :backup_configuration ] if args . key? ( :backup_configuration )
3355+ @backup_run = args [ :backup_run ] if args . key? ( :backup_run )
3356+ @backupdr_configuration = args [ :backupdr_configuration ] if args . key? ( :backupdr_configuration )
3357+ @full_resource_name = args [ :full_resource_name ] if args . key? ( :full_resource_name )
3358+ @last_refresh_time = args [ :last_refresh_time ] if args . key? ( :last_refresh_time )
3359+ @resource_id = args [ :resource_id ] if args . key? ( :resource_id )
3360+ end
3361+ end
3362+
33123363 # A backup run.
33133364 class StorageDatabasecenterPartnerapiV1mainBackupRun
33143365 include Google ::Apis ::Core ::Hashable
@@ -3441,10 +3492,16 @@ def update!(**args)
34413492 end
34423493
34433494 # DatabaseResourceFeed is the top level proto to be used to ingest different
3444- # database resource level events into Condor platform. Next ID: 9
3495+ # database resource level events into Condor platform. Next ID: 10
34453496 class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
34463497 include Google ::Apis ::Core ::Hashable
34473498
3499+ # BackupDRMetadata contains information about the backup and disaster recovery
3500+ # metadata of a database resource.
3501+ # Corresponds to the JSON property `backupdrMetadata`
3502+ # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainBackupDrMetadata]
3503+ attr_accessor :backupdr_metadata
3504+
34483505 # Config based signal data. This is used to send signals to Condor which are
34493506 # based on the DB level configurations. These will be used to send signals for
34503507 # self managed databases.
@@ -3493,6 +3550,7 @@ def initialize(**args)
34933550
34943551 # Update properties of this object
34953552 def update! ( **args )
3553+ @backupdr_metadata = args [ :backupdr_metadata ] if args . key? ( :backupdr_metadata )
34963554 @config_based_signal_data = args [ :config_based_signal_data ] if args . key? ( :config_based_signal_data )
34973555 @feed_timestamp = args [ :feed_timestamp ] if args . key? ( :feed_timestamp )
34983556 @feed_type = args [ :feed_type ] if args . key? ( :feed_type )
0 commit comments