@@ -3720,7 +3720,7 @@ def update!(**args)
37203720 end
37213721
37223722 # DatabaseResourceFeed is the top level proto to be used to ingest different
3723- # database resource level events into Condor platform. Next ID: 11
3723+ # database resource level events into Condor platform. Next ID: 12
37243724 class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
37253725 include Google ::Apis ::Core ::Hashable
37263726
@@ -3737,6 +3737,13 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
37373737 # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData]
37383738 attr_accessor :config_based_signal_data
37393739
3740+ # Database resource signal data. This is used to send signals to Condor which
3741+ # are based on the DB/Instance/Fleet level configurations. These will be used to
3742+ # send signals for all inventory types. Next ID: 7
3743+ # Corresponds to the JSON property `databaseResourceSignalData`
3744+ # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData]
3745+ attr_accessor :database_resource_signal_data
3746+
37403747 # Required. Timestamp when feed is generated.
37413748 # Corresponds to the JSON property `feedTimestamp`
37423749 # @return [String]
@@ -3767,7 +3774,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
37673774 # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
37683775 attr_accessor :resource_id
37693776
3770- # Common model for database resource instance metadata. Next ID: 26
3777+ # Common model for database resource instance metadata. Next ID: 27
37713778 # Corresponds to the JSON property `resourceMetadata`
37723779 # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata]
37733780 attr_accessor :resource_metadata
@@ -3790,6 +3797,7 @@ def initialize(**args)
37903797 def update! ( **args )
37913798 @backupdr_metadata = args [ :backupdr_metadata ] if args . key? ( :backupdr_metadata )
37923799 @config_based_signal_data = args [ :config_based_signal_data ] if args . key? ( :config_based_signal_data )
3800+ @database_resource_signal_data = args [ :database_resource_signal_data ] if args . key? ( :database_resource_signal_data )
37933801 @feed_timestamp = args [ :feed_timestamp ] if args . key? ( :feed_timestamp )
37943802 @feed_type = args [ :feed_type ] if args . key? ( :feed_type )
37953803 @observability_metric_data = args [ :observability_metric_data ] if args . key? ( :observability_metric_data )
@@ -3964,7 +3972,7 @@ def update!(**args)
39643972 end
39653973 end
39663974
3967- # Common model for database resource instance metadata. Next ID: 26
3975+ # Common model for database resource instance metadata. Next ID: 27
39683976 class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata
39693977 include Google ::Apis ::Core ::Hashable
39703978
@@ -4108,6 +4116,12 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata
41084116 # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainUserLabels]
41094117 attr_accessor :user_label_set
41104118
4119+ # The resource zone. This is only applicable for zonal resources and will be
4120+ # empty for regional and multi-regional resources.
4121+ # Corresponds to the JSON property `zone`
4122+ # @return [String]
4123+ attr_accessor :zone
4124+
41114125 def initialize ( **args )
41124126 update! ( **args )
41134127 end
@@ -4138,6 +4152,7 @@ def update!(**args)
41384152 @tags_set = args [ :tags_set ] if args . key? ( :tags_set )
41394153 @updation_time = args [ :updation_time ] if args . key? ( :updation_time )
41404154 @user_label_set = args [ :user_label_set ] if args . key? ( :user_label_set )
4155+ @zone = args [ :zone ] if args . key? ( :zone )
41414156 end
41424157 end
41434158
@@ -4214,6 +4229,58 @@ def update!(**args)
42144229 end
42154230 end
42164231
4232+ # Database resource signal data. This is used to send signals to Condor which
4233+ # are based on the DB/Instance/Fleet level configurations. These will be used to
4234+ # send signals for all inventory types. Next ID: 7
4235+ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData
4236+ include Google ::Apis ::Core ::Hashable
4237+
4238+ # Required. Full Resource name of the source resource.
4239+ # Corresponds to the JSON property `fullResourceName`
4240+ # @return [String]
4241+ attr_accessor :full_resource_name
4242+
4243+ # Required. Last time signal was refreshed
4244+ # Corresponds to the JSON property `lastRefreshTime`
4245+ # @return [String]
4246+ attr_accessor :last_refresh_time
4247+
4248+ # DatabaseResourceId will serve as primary key for any resource ingestion event.
4249+ # Corresponds to the JSON property `resourceId`
4250+ # @return [Google::Apis::AlloydbV1alpha::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
4251+ attr_accessor :resource_id
4252+
4253+ # Signal data for boolean signals.
4254+ # Corresponds to the JSON property `signalBoolValue`
4255+ # @return [Boolean]
4256+ attr_accessor :signal_bool_value
4257+ alias_method :signal_bool_value? , :signal_bool_value
4258+
4259+ # Required. Output only. Signal state of the signal
4260+ # Corresponds to the JSON property `signalState`
4261+ # @return [String]
4262+ attr_accessor :signal_state
4263+
4264+ # Required. Signal type of the signal
4265+ # Corresponds to the JSON property `signalType`
4266+ # @return [String]
4267+ attr_accessor :signal_type
4268+
4269+ def initialize ( **args )
4270+ update! ( **args )
4271+ end
4272+
4273+ # Update properties of this object
4274+ def update! ( **args )
4275+ @full_resource_name = args [ :full_resource_name ] if args . key? ( :full_resource_name )
4276+ @last_refresh_time = args [ :last_refresh_time ] if args . key? ( :last_refresh_time )
4277+ @resource_id = args [ :resource_id ] if args . key? ( :resource_id )
4278+ @signal_bool_value = args [ :signal_bool_value ] if args . key? ( :signal_bool_value )
4279+ @signal_state = args [ :signal_state ] if args . key? ( :signal_state )
4280+ @signal_type = args [ :signal_type ] if args . key? ( :signal_type )
4281+ end
4282+ end
4283+
42174284 # Proto representing the access that a user has to a specific feature/service.
42184285 # NextId: 3.
42194286 class StorageDatabasecenterPartnerapiV1mainEntitlement
0 commit comments