@@ -3492,7 +3492,7 @@ def update!(**args)
34923492 end
34933493
34943494 # DatabaseResourceFeed is the top level proto to be used to ingest different
3495- # database resource level events into Condor platform. Next ID: 11
3495+ # database resource level events into Condor platform. Next ID: 12
34963496 class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
34973497 include Google ::Apis ::Core ::Hashable
34983498
@@ -3509,6 +3509,13 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
35093509 # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData]
35103510 attr_accessor :config_based_signal_data
35113511
3512+ # Database resource signal data. This is used to send signals to Condor which
3513+ # are based on the DB/Instance/Fleet level configurations. These will be used to
3514+ # send signals for all inventory types. Next ID: 7
3515+ # Corresponds to the JSON property `databaseResourceSignalData`
3516+ # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData]
3517+ attr_accessor :database_resource_signal_data
3518+
35123519 # Required. Timestamp when feed is generated.
35133520 # Corresponds to the JSON property `feedTimestamp`
35143521 # @return [String]
@@ -3539,7 +3546,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
35393546 # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
35403547 attr_accessor :resource_id
35413548
3542- # Common model for database resource instance metadata. Next ID: 26
3549+ # Common model for database resource instance metadata. Next ID: 27
35433550 # Corresponds to the JSON property `resourceMetadata`
35443551 # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata]
35453552 attr_accessor :resource_metadata
@@ -3562,6 +3569,7 @@ def initialize(**args)
35623569 def update! ( **args )
35633570 @backupdr_metadata = args [ :backupdr_metadata ] if args . key? ( :backupdr_metadata )
35643571 @config_based_signal_data = args [ :config_based_signal_data ] if args . key? ( :config_based_signal_data )
3572+ @database_resource_signal_data = args [ :database_resource_signal_data ] if args . key? ( :database_resource_signal_data )
35653573 @feed_timestamp = args [ :feed_timestamp ] if args . key? ( :feed_timestamp )
35663574 @feed_type = args [ :feed_type ] if args . key? ( :feed_type )
35673575 @observability_metric_data = args [ :observability_metric_data ] if args . key? ( :observability_metric_data )
@@ -3736,7 +3744,7 @@ def update!(**args)
37363744 end
37373745 end
37383746
3739- # Common model for database resource instance metadata. Next ID: 26
3747+ # Common model for database resource instance metadata. Next ID: 27
37403748 class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata
37413749 include Google ::Apis ::Core ::Hashable
37423750
@@ -3880,6 +3888,12 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata
38803888 # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainUserLabels]
38813889 attr_accessor :user_label_set
38823890
3891+ # The resource zone. This is only applicable for zonal resources and will be
3892+ # empty for regional and multi-regional resources.
3893+ # Corresponds to the JSON property `zone`
3894+ # @return [String]
3895+ attr_accessor :zone
3896+
38833897 def initialize ( **args )
38843898 update! ( **args )
38853899 end
@@ -3910,6 +3924,7 @@ def update!(**args)
39103924 @tags_set = args [ :tags_set ] if args . key? ( :tags_set )
39113925 @updation_time = args [ :updation_time ] if args . key? ( :updation_time )
39123926 @user_label_set = args [ :user_label_set ] if args . key? ( :user_label_set )
3927+ @zone = args [ :zone ] if args . key? ( :zone )
39133928 end
39143929 end
39153930
@@ -3986,6 +4001,58 @@ def update!(**args)
39864001 end
39874002 end
39884003
4004+ # Database resource signal data. This is used to send signals to Condor which
4005+ # are based on the DB/Instance/Fleet level configurations. These will be used to
4006+ # send signals for all inventory types. Next ID: 7
4007+ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData
4008+ include Google ::Apis ::Core ::Hashable
4009+
4010+ # Required. Full Resource name of the source resource.
4011+ # Corresponds to the JSON property `fullResourceName`
4012+ # @return [String]
4013+ attr_accessor :full_resource_name
4014+
4015+ # Required. Last time signal was refreshed
4016+ # Corresponds to the JSON property `lastRefreshTime`
4017+ # @return [String]
4018+ attr_accessor :last_refresh_time
4019+
4020+ # DatabaseResourceId will serve as primary key for any resource ingestion event.
4021+ # Corresponds to the JSON property `resourceId`
4022+ # @return [Google::Apis::AlloydbV1::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
4023+ attr_accessor :resource_id
4024+
4025+ # Signal data for boolean signals.
4026+ # Corresponds to the JSON property `signalBoolValue`
4027+ # @return [Boolean]
4028+ attr_accessor :signal_bool_value
4029+ alias_method :signal_bool_value? , :signal_bool_value
4030+
4031+ # Required. Output only. Signal state of the signal
4032+ # Corresponds to the JSON property `signalState`
4033+ # @return [String]
4034+ attr_accessor :signal_state
4035+
4036+ # Required. Signal type of the signal
4037+ # Corresponds to the JSON property `signalType`
4038+ # @return [String]
4039+ attr_accessor :signal_type
4040+
4041+ def initialize ( **args )
4042+ update! ( **args )
4043+ end
4044+
4045+ # Update properties of this object
4046+ def update! ( **args )
4047+ @full_resource_name = args [ :full_resource_name ] if args . key? ( :full_resource_name )
4048+ @last_refresh_time = args [ :last_refresh_time ] if args . key? ( :last_refresh_time )
4049+ @resource_id = args [ :resource_id ] if args . key? ( :resource_id )
4050+ @signal_bool_value = args [ :signal_bool_value ] if args . key? ( :signal_bool_value )
4051+ @signal_state = args [ :signal_state ] if args . key? ( :signal_state )
4052+ @signal_type = args [ :signal_type ] if args . key? ( :signal_type )
4053+ end
4054+ end
4055+
39894056 # Proto representing the access that a user has to a specific feature/service.
39904057 # NextId: 3.
39914058 class StorageDatabasecenterPartnerapiV1mainEntitlement
0 commit comments