@@ -3686,7 +3686,7 @@ def update!(**args)
36863686 end
36873687
36883688 # DatabaseResourceFeed is the top level proto to be used to ingest different
3689- # database resource level events into Condor platform. Next ID: 11
3689+ # database resource level events into Condor platform. Next ID: 12
36903690 class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
36913691 include Google ::Apis ::Core ::Hashable
36923692
@@ -3703,6 +3703,13 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
37033703 # @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainConfigBasedSignalData]
37043704 attr_accessor :config_based_signal_data
37053705
3706+ # Database resource signal data. This is used to send signals to Condor which
3707+ # are based on the DB/Instance/Fleet level configurations. These will be used to
3708+ # send signals for all inventory types. Next ID: 7
3709+ # Corresponds to the JSON property `databaseResourceSignalData`
3710+ # @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData]
3711+ attr_accessor :database_resource_signal_data
3712+
37063713 # Required. Timestamp when feed is generated.
37073714 # Corresponds to the JSON property `feedTimestamp`
37083715 # @return [String]
@@ -3733,7 +3740,7 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceFeed
37333740 # @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
37343741 attr_accessor :resource_id
37353742
3736- # Common model for database resource instance metadata. Next ID: 26
3743+ # Common model for database resource instance metadata. Next ID: 27
37373744 # Corresponds to the JSON property `resourceMetadata`
37383745 # @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata]
37393746 attr_accessor :resource_metadata
@@ -3756,6 +3763,7 @@ def initialize(**args)
37563763 def update! ( **args )
37573764 @backupdr_metadata = args [ :backupdr_metadata ] if args . key? ( :backupdr_metadata )
37583765 @config_based_signal_data = args [ :config_based_signal_data ] if args . key? ( :config_based_signal_data )
3766+ @database_resource_signal_data = args [ :database_resource_signal_data ] if args . key? ( :database_resource_signal_data )
37593767 @feed_timestamp = args [ :feed_timestamp ] if args . key? ( :feed_timestamp )
37603768 @feed_type = args [ :feed_type ] if args . key? ( :feed_type )
37613769 @observability_metric_data = args [ :observability_metric_data ] if args . key? ( :observability_metric_data )
@@ -3930,7 +3938,7 @@ def update!(**args)
39303938 end
39313939 end
39323940
3933- # Common model for database resource instance metadata. Next ID: 26
3941+ # Common model for database resource instance metadata. Next ID: 27
39343942 class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata
39353943 include Google ::Apis ::Core ::Hashable
39363944
@@ -4074,6 +4082,12 @@ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata
40744082 # @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainUserLabels]
40754083 attr_accessor :user_label_set
40764084
4085+ # The resource zone. This is only applicable for zonal resources and will be
4086+ # empty for regional and multi-regional resources.
4087+ # Corresponds to the JSON property `zone`
4088+ # @return [String]
4089+ attr_accessor :zone
4090+
40774091 def initialize ( **args )
40784092 update! ( **args )
40794093 end
@@ -4104,6 +4118,7 @@ def update!(**args)
41044118 @tags_set = args [ :tags_set ] if args . key? ( :tags_set )
41054119 @updation_time = args [ :updation_time ] if args . key? ( :updation_time )
41064120 @user_label_set = args [ :user_label_set ] if args . key? ( :user_label_set )
4121+ @zone = args [ :zone ] if args . key? ( :zone )
41074122 end
41084123 end
41094124
@@ -4180,6 +4195,58 @@ def update!(**args)
41804195 end
41814196 end
41824197
4198+ # Database resource signal data. This is used to send signals to Condor which
4199+ # are based on the DB/Instance/Fleet level configurations. These will be used to
4200+ # send signals for all inventory types. Next ID: 7
4201+ class StorageDatabasecenterPartnerapiV1mainDatabaseResourceSignalData
4202+ include Google ::Apis ::Core ::Hashable
4203+
4204+ # Required. Full Resource name of the source resource.
4205+ # Corresponds to the JSON property `fullResourceName`
4206+ # @return [String]
4207+ attr_accessor :full_resource_name
4208+
4209+ # Required. Last time signal was refreshed
4210+ # Corresponds to the JSON property `lastRefreshTime`
4211+ # @return [String]
4212+ attr_accessor :last_refresh_time
4213+
4214+ # DatabaseResourceId will serve as primary key for any resource ingestion event.
4215+ # Corresponds to the JSON property `resourceId`
4216+ # @return [Google::Apis::AlloydbV1beta::StorageDatabasecenterPartnerapiV1mainDatabaseResourceId]
4217+ attr_accessor :resource_id
4218+
4219+ # Signal data for boolean signals.
4220+ # Corresponds to the JSON property `signalBoolValue`
4221+ # @return [Boolean]
4222+ attr_accessor :signal_bool_value
4223+ alias_method :signal_bool_value? , :signal_bool_value
4224+
4225+ # Required. Output only. Signal state of the signal
4226+ # Corresponds to the JSON property `signalState`
4227+ # @return [String]
4228+ attr_accessor :signal_state
4229+
4230+ # Required. Signal type of the signal
4231+ # Corresponds to the JSON property `signalType`
4232+ # @return [String]
4233+ attr_accessor :signal_type
4234+
4235+ def initialize ( **args )
4236+ update! ( **args )
4237+ end
4238+
4239+ # Update properties of this object
4240+ def update! ( **args )
4241+ @full_resource_name = args [ :full_resource_name ] if args . key? ( :full_resource_name )
4242+ @last_refresh_time = args [ :last_refresh_time ] if args . key? ( :last_refresh_time )
4243+ @resource_id = args [ :resource_id ] if args . key? ( :resource_id )
4244+ @signal_bool_value = args [ :signal_bool_value ] if args . key? ( :signal_bool_value )
4245+ @signal_state = args [ :signal_state ] if args . key? ( :signal_state )
4246+ @signal_type = args [ :signal_type ] if args . key? ( :signal_type )
4247+ end
4248+ end
4249+
41834250 # Proto representing the access that a user has to a specific feature/service.
41844251 # NextId: 3.
41854252 class StorageDatabasecenterPartnerapiV1mainEntitlement
0 commit comments