@@ -3278,6 +3278,43 @@ def update!(**args)
3278
3278
end
3279
3279
end
3280
3280
3281
+ # Timing information for the stage execution.
3282
+ class StageSchedule
3283
+ include Google ::Apis ::Core ::Hashable
3284
+
3285
+ # Actual end time of the stage. Set only if the stage has completed.
3286
+ # Corresponds to the JSON property `actualEndTime`
3287
+ # @return [String]
3288
+ attr_accessor :actual_end_time
3289
+
3290
+ # Actual start time of the stage. Set only if the stage has started.
3291
+ # Corresponds to the JSON property `actualStartTime`
3292
+ # @return [String]
3293
+ attr_accessor :actual_start_time
3294
+
3295
+ # When the stage is expected to end. Set only if the stage has not completed yet.
3296
+ # Corresponds to the JSON property `estimatedEndTime`
3297
+ # @return [String]
3298
+ attr_accessor :estimated_end_time
3299
+
3300
+ # When the stage is expected to start. Set only if the stage has not started yet.
3301
+ # Corresponds to the JSON property `estimatedStartTime`
3302
+ # @return [String]
3303
+ attr_accessor :estimated_start_time
3304
+
3305
+ def initialize ( **args )
3306
+ update! ( **args )
3307
+ end
3308
+
3309
+ # Update properties of this object
3310
+ def update! ( **args )
3311
+ @actual_end_time = args [ :actual_end_time ] if args . key? ( :actual_end_time )
3312
+ @actual_start_time = args [ :actual_start_time ] if args . key? ( :actual_start_time )
3313
+ @estimated_end_time = args [ :estimated_end_time ] if args . key? ( :estimated_end_time )
3314
+ @estimated_start_time = args [ :estimated_start_time ] if args . key? ( :estimated_start_time )
3315
+ end
3316
+ end
3317
+
3281
3318
# Status of an upgrade stage.
3282
3319
class StageStatus
3283
3320
include Google ::Apis ::Core ::Hashable
@@ -3287,6 +3324,11 @@ class StageStatus
3287
3324
# @return [Google::Apis::AlloydbV1alpha::ReadPoolInstancesUpgradeStageStatus]
3288
3325
attr_accessor :read_pool_instances_upgrade
3289
3326
3327
+ # Timing information for the stage execution.
3328
+ # Corresponds to the JSON property `schedule`
3329
+ # @return [Google::Apis::AlloydbV1alpha::StageSchedule]
3330
+ attr_accessor :schedule
3331
+
3290
3332
# Upgrade stage.
3291
3333
# Corresponds to the JSON property `stage`
3292
3334
# @return [String]
@@ -3304,6 +3346,7 @@ def initialize(**args)
3304
3346
# Update properties of this object
3305
3347
def update! ( **args )
3306
3348
@read_pool_instances_upgrade = args [ :read_pool_instances_upgrade ] if args . key? ( :read_pool_instances_upgrade )
3349
+ @schedule = args [ :schedule ] if args . key? ( :schedule )
3307
3350
@stage = args [ :stage ] if args . key? ( :stage )
3308
3351
@state = args [ :state ] if args . key? ( :state )
3309
3352
end
@@ -3473,6 +3516,27 @@ def update!(**args)
3473
3516
end
3474
3517
end
3475
3518
3519
+ # BackupDRConfiguration to capture the backup and disaster recovery details of
3520
+ # database resource.
3521
+ class StorageDatabasecenterPartnerapiV1mainBackupDrConfiguration
3522
+ include Google ::Apis ::Core ::Hashable
3523
+
3524
+ # Indicates if the resource is managed by BackupDR.
3525
+ # Corresponds to the JSON property `backupdrManaged`
3526
+ # @return [Boolean]
3527
+ attr_accessor :backupdr_managed
3528
+ alias_method :backupdr_managed? , :backupdr_managed
3529
+
3530
+ def initialize ( **args )
3531
+ update! ( **args )
3532
+ end
3533
+
3534
+ # Update properties of this object
3535
+ def update! ( **args )
3536
+ @backupdr_managed = args [ :backupdr_managed ] if args . key? ( :backupdr_managed )
3537
+ end
3538
+ end
3539
+
3476
3540
# A backup run.
3477
3541
class StorageDatabasecenterPartnerapiV1mainBackupRun
3478
3542
include Google ::Apis ::Core ::Hashable
@@ -3536,6 +3600,52 @@ def update!(**args)
3536
3600
end
3537
3601
end
3538
3602
3603
+ # Config based signal data. This is used to send signals to Condor which are
3604
+ # based on the DB level configurations. These will be used to send signals for
3605
+ # self managed databases.
3606
+ class StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData
3607
+ include Google ::Apis ::Core ::Hashable
3608
+
3609
+ # Required. Full Resource name of the source resource.
3610
+ # Corresponds to the JSON property `fullResourceName`
3611
+ # @return [String]
3612
+ attr_accessor :full_resource_name
3613
+
3614
+ # Required. Last time signal was refreshed
3615
+ # Corresponds to the JSON property `lastRefreshTime`
3616
+ # @return [String]
3617
+ attr_accessor :last_refresh_time
3618
+
3619
+ # DatabaseResourceId will serve as primary key for any resource ingestion event.
3620
+ # Corresponds to the JSON property `resourceId`
3621
+ # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
3622
+ attr_accessor :resource_id
3623
+
3624
+ # Signal data for boolean signals.
3625
+ # Corresponds to the JSON property `signalBoolValue`
3626
+ # @return [Boolean]
3627
+ attr_accessor :signal_bool_value
3628
+ alias_method :signal_bool_value? , :signal_bool_value
3629
+
3630
+ # Required. Signal type of the signal
3631
+ # Corresponds to the JSON property `signalType`
3632
+ # @return [String]
3633
+ attr_accessor :signal_type
3634
+
3635
+ def initialize ( **args )
3636
+ update! ( **args )
3637
+ end
3638
+
3639
+ # Update properties of this object
3640
+ def update! ( **args )
3641
+ @full_resource_name = args [ :full_resource_name ] if args . key? ( :full_resource_name )
3642
+ @last_refresh_time = args [ :last_refresh_time ] if args . key? ( :last_refresh_time )
3643
+ @resource_id = args [ :resource_id ] if args . key? ( :resource_id )
3644
+ @signal_bool_value = args [ :signal_bool_value ] if args . key? ( :signal_bool_value )
3645
+ @signal_type = args [ :signal_type ] if args . key? ( :signal_type )
3646
+ end
3647
+ end
3648
+
3539
3649
# Any custom metadata associated with the resource. e.g. A spanner instance can
3540
3650
# have multiple databases with its own unique metadata. Information for these
3541
3651
# individual databases can be captured in custom metadata data
@@ -3559,10 +3669,17 @@ def update!(**args)
3559
3669
end
3560
3670
3561
3671
# DatabaseResourceFeed is the top level proto to be used to ingest different
3562
- # database resource level events into Condor platform. Next ID: 8
3672
+ # database resource level events into Condor platform. Next ID: 9
3563
3673
class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
3564
3674
include Google ::Apis ::Core ::Hashable
3565
3675
3676
+ # Config based signal data. This is used to send signals to Condor which are
3677
+ # based on the DB level configurations. These will be used to send signals for
3678
+ # self managed databases.
3679
+ # Corresponds to the JSON property `configBasedSignalData`
3680
+ # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData]
3681
+ attr_accessor :config_based_signal_data
3682
+
3566
3683
# Required. Timestamp when feed is generated.
3567
3684
# Corresponds to the JSON property `feedTimestamp`
3568
3685
# @return [String]
@@ -3593,7 +3710,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
3593
3710
# @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
3594
3711
attr_accessor :resource_id
3595
3712
3596
- # Common model for database resource instance metadata. Next ID: 25
3713
+ # Common model for database resource instance metadata. Next ID: 26
3597
3714
# Corresponds to the JSON property `resourceMetadata`
3598
3715
# @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata]
3599
3716
attr_accessor :resource_metadata
@@ -3604,6 +3721,7 @@ def initialize(**args)
3604
3721
3605
3722
# Update properties of this object
3606
3723
def update! ( **args )
3724
+ @config_based_signal_data = args [ :config_based_signal_data ] if args . key? ( :config_based_signal_data )
3607
3725
@feed_timestamp = args [ :feed_timestamp ] if args . key? ( :feed_timestamp )
3608
3726
@feed_type = args [ :feed_type ] if args . key? ( :feed_type )
3609
3727
@observability_metric_data = args [ :observability_metric_data ] if args . key? ( :observability_metric_data )
@@ -3777,7 +3895,7 @@ def update!(**args)
3777
3895
end
3778
3896
end
3779
3897
3780
- # Common model for database resource instance metadata. Next ID: 25
3898
+ # Common model for database resource instance metadata. Next ID: 26
3781
3899
class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata
3782
3900
include Google ::Apis ::Core ::Hashable
3783
3901
@@ -3796,6 +3914,12 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata
3796
3914
# @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainBackupRun]
3797
3915
attr_accessor :backup_run
3798
3916
3917
+ # BackupDRConfiguration to capture the backup and disaster recovery details of
3918
+ # database resource.
3919
+ # Corresponds to the JSON property `backupdrConfiguration`
3920
+ # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainBackupDrConfiguration]
3921
+ attr_accessor :backupdr_configuration
3922
+
3799
3923
# The creation time of the resource, i.e. the time when resource is created and
3800
3924
# recorded in partner service.
3801
3925
# Corresponds to the JSON property `creationTime`
@@ -3924,6 +4048,7 @@ def update!(**args)
3924
4048
@availability_configuration = args [ :availability_configuration ] if args . key? ( :availability_configuration )
3925
4049
@backup_configuration = args [ :backup_configuration ] if args . key? ( :backup_configuration )
3926
4050
@backup_run = args [ :backup_run ] if args . key? ( :backup_run )
4051
+ @backupdr_configuration = args [ :backupdr_configuration ] if args . key? ( :backupdr_configuration )
3927
4052
@creation_time = args [ :creation_time ] if args . key? ( :creation_time )
3928
4053
@current_state = args [ :current_state ] if args . key? ( :current_state )
3929
4054
@custom_metadata = args [ :custom_metadata ] if args . key? ( :custom_metadata )
@@ -4330,6 +4455,13 @@ class StorageDatabasecenterProtoCommonProduct
4330
4455
# @return [String]
4331
4456
attr_accessor :engine
4332
4457
4458
+ # Minor version of the underlying database engine. Example values: For MySQL, it
4459
+ # could be "8.0.32", "5.7.32" etc.. For Postgres, it could be "14.3", "15.3" etc.
4460
+ # .
4461
+ # Corresponds to the JSON property `minorVersion`
4462
+ # @return [String]
4463
+ attr_accessor :minor_version
4464
+
4333
4465
# Type of specific database product. It could be CloudSQL, AlloyDB etc..
4334
4466
# Corresponds to the JSON property `type`
4335
4467
# @return [String]
@@ -4348,6 +4480,7 @@ def initialize(**args)
4348
4480
# Update properties of this object
4349
4481
def update! ( **args )
4350
4482
@engine = args [ :engine ] if args . key? ( :engine )
4483
+ @minor_version = args [ :minor_version ] if args . key? ( :minor_version )
4351
4484
@type = args [ :type ] if args . key? ( :type )
4352
4485
@version = args [ :version ] if args . key? ( :version )
4353
4486
end
0 commit comments