@@ -3309,6 +3309,57 @@ def update!(**args)
3309
3309
end
3310
3310
end
3311
3311
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
+
3312
3363
# A backup run.
3313
3364
class StorageDatabasecenterPartnerapiV1mainBackupRun
3314
3365
include Google ::Apis ::Core ::Hashable
@@ -3441,10 +3492,16 @@ def update!(**args)
3441
3492
end
3442
3493
3443
3494
# 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
3445
3496
class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
3446
3497
include Google ::Apis ::Core ::Hashable
3447
3498
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
+
3448
3505
# Config based signal data. This is used to send signals to Condor which are
3449
3506
# based on the DB level configurations. These will be used to send signals for
3450
3507
# self managed databases.
@@ -3493,6 +3550,7 @@ def initialize(**args)
3493
3550
3494
3551
# Update properties of this object
3495
3552
def update! ( **args )
3553
+ @backupdr_metadata = args [ :backupdr_metadata ] if args . key? ( :backupdr_metadata )
3496
3554
@config_based_signal_data = args [ :config_based_signal_data ] if args . key? ( :config_based_signal_data )
3497
3555
@feed_timestamp = args [ :feed_timestamp ] if args . key? ( :feed_timestamp )
3498
3556
@feed_type = args [ :feed_type ] if args . key? ( :feed_type )
0 commit comments