@@ -3278,6 +3278,43 @@ def update!(**args)
32783278 end
32793279 end
32803280
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+
32813318 # Status of an upgrade stage.
32823319 class StageStatus
32833320 include Google ::Apis ::Core ::Hashable
@@ -3287,6 +3324,11 @@ class StageStatus
32873324 # @return [Google::Apis::AlloydbV1alpha::ReadPoolInstancesUpgradeStageStatus]
32883325 attr_accessor :read_pool_instances_upgrade
32893326
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+
32903332 # Upgrade stage.
32913333 # Corresponds to the JSON property `stage`
32923334 # @return [String]
@@ -3304,6 +3346,7 @@ def initialize(**args)
33043346 # Update properties of this object
33053347 def update! ( **args )
33063348 @read_pool_instances_upgrade = args [ :read_pool_instances_upgrade ] if args . key? ( :read_pool_instances_upgrade )
3349+ @schedule = args [ :schedule ] if args . key? ( :schedule )
33073350 @stage = args [ :stage ] if args . key? ( :stage )
33083351 @state = args [ :state ] if args . key? ( :state )
33093352 end
@@ -3473,6 +3516,27 @@ def update!(**args)
34733516 end
34743517 end
34753518
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+
34763540 # A backup run.
34773541 class StorageDatabasecenterPartnerapiV1mainBackupRun
34783542 include Google ::Apis ::Core ::Hashable
@@ -3536,6 +3600,52 @@ def update!(**args)
35363600 end
35373601 end
35383602
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+
35393649 # Any custom metadata associated with the resource. e.g. A spanner instance can
35403650 # have multiple databases with its own unique metadata. Information for these
35413651 # individual databases can be captured in custom metadata data
@@ -3559,10 +3669,17 @@ def update!(**args)
35593669 end
35603670
35613671 # 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
35633673 class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
35643674 include Google ::Apis ::Core ::Hashable
35653675
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+
35663683 # Required. Timestamp when feed is generated.
35673684 # Corresponds to the JSON property `feedTimestamp`
35683685 # @return [String]
@@ -3593,7 +3710,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
35933710 # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
35943711 attr_accessor :resource_id
35953712
3596- # Common model for database resource instance metadata. Next ID: 25
3713+ # Common model for database resource instance metadata. Next ID: 26
35973714 # Corresponds to the JSON property `resourceMetadata`
35983715 # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata]
35993716 attr_accessor :resource_metadata
@@ -3604,6 +3721,7 @@ def initialize(**args)
36043721
36053722 # Update properties of this object
36063723 def update! ( **args )
3724+ @config_based_signal_data = args [ :config_based_signal_data ] if args . key? ( :config_based_signal_data )
36073725 @feed_timestamp = args [ :feed_timestamp ] if args . key? ( :feed_timestamp )
36083726 @feed_type = args [ :feed_type ] if args . key? ( :feed_type )
36093727 @observability_metric_data = args [ :observability_metric_data ] if args . key? ( :observability_metric_data )
@@ -3777,7 +3895,7 @@ def update!(**args)
37773895 end
37783896 end
37793897
3780- # Common model for database resource instance metadata. Next ID: 25
3898+ # Common model for database resource instance metadata. Next ID: 26
37813899 class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata
37823900 include Google ::Apis ::Core ::Hashable
37833901
@@ -3796,6 +3914,12 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata
37963914 # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainBackupRun]
37973915 attr_accessor :backup_run
37983916
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+
37993923 # The creation time of the resource, i.e. the time when resource is created and
38003924 # recorded in partner service.
38013925 # Corresponds to the JSON property `creationTime`
@@ -3924,6 +4048,7 @@ def update!(**args)
39244048 @availability_configuration = args [ :availability_configuration ] if args . key? ( :availability_configuration )
39254049 @backup_configuration = args [ :backup_configuration ] if args . key? ( :backup_configuration )
39264050 @backup_run = args [ :backup_run ] if args . key? ( :backup_run )
4051+ @backupdr_configuration = args [ :backupdr_configuration ] if args . key? ( :backupdr_configuration )
39274052 @creation_time = args [ :creation_time ] if args . key? ( :creation_time )
39284053 @current_state = args [ :current_state ] if args . key? ( :current_state )
39294054 @custom_metadata = args [ :custom_metadata ] if args . key? ( :custom_metadata )
@@ -4330,6 +4455,13 @@ class StorageDatabasecenterProtoCommonProduct
43304455 # @return [String]
43314456 attr_accessor :engine
43324457
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+
43334465 # Type of specific database product. It could be CloudSQL, AlloyDB etc..
43344466 # Corresponds to the JSON property `type`
43354467 # @return [String]
@@ -4348,6 +4480,7 @@ def initialize(**args)
43484480 # Update properties of this object
43494481 def update! ( **args )
43504482 @engine = args [ :engine ] if args . key? ( :engine )
4483+ @minor_version = args [ :minor_version ] if args . key? ( :minor_version )
43514484 @type = args [ :type ] if args . key? ( :type )
43524485 @version = args [ :version ] if args . key? ( :version )
43534486 end
0 commit comments