@@ -1119,7 +1119,7 @@ def update!(**args)
11191119 end
11201120
11211121 # DatabaseResourceFeed is the top level proto to be used to ingest different
1122- # database resource level events into Condor platform. Next ID: 11
1122+ # database resource level events into Condor platform. Next ID: 13
11231123 class DatabaseResourceFeed
11241124 include Google ::Apis ::Core ::Hashable
11251125
@@ -1136,6 +1136,13 @@ class DatabaseResourceFeed
11361136 # @return [Google::Apis::RedisV1beta1::ConfigBasedSignalData]
11371137 attr_accessor :config_based_signal_data
11381138
1139+ # Database resource signal data. This is used to send signals to Condor which
1140+ # are based on the DB/Instance/Fleet level configurations. These will be used to
1141+ # send signals for all inventory types. Next ID: 7
1142+ # Corresponds to the JSON property `databaseResourceSignalData`
1143+ # @return [Google::Apis::RedisV1beta1::DatabaseResourceSignalData]
1144+ attr_accessor :database_resource_signal_data
1145+
11391146 # Required. Timestamp when feed is generated.
11401147 # Corresponds to the JSON property `feedTimestamp`
11411148 # @return [String]
@@ -1166,7 +1173,7 @@ class DatabaseResourceFeed
11661173 # @return [Google::Apis::RedisV1beta1::DatabaseResourceId]
11671174 attr_accessor :resource_id
11681175
1169- # Common model for database resource instance metadata. Next ID: 26
1176+ # Common model for database resource instance metadata. Next ID: 27
11701177 # Corresponds to the JSON property `resourceMetadata`
11711178 # @return [Google::Apis::RedisV1beta1::DatabaseResourceMetadata]
11721179 attr_accessor :resource_metadata
@@ -1189,6 +1196,7 @@ def initialize(**args)
11891196 def update! ( **args )
11901197 @backupdr_metadata = args [ :backupdr_metadata ] if args . key? ( :backupdr_metadata )
11911198 @config_based_signal_data = args [ :config_based_signal_data ] if args . key? ( :config_based_signal_data )
1199+ @database_resource_signal_data = args [ :database_resource_signal_data ] if args . key? ( :database_resource_signal_data )
11921200 @feed_timestamp = args [ :feed_timestamp ] if args . key? ( :feed_timestamp )
11931201 @feed_type = args [ :feed_type ] if args . key? ( :feed_type )
11941202 @observability_metric_data = args [ :observability_metric_data ] if args . key? ( :observability_metric_data )
@@ -1363,7 +1371,7 @@ def update!(**args)
13631371 end
13641372 end
13651373
1366- # Common model for database resource instance metadata. Next ID: 26
1374+ # Common model for database resource instance metadata. Next ID: 27
13671375 class DatabaseResourceMetadata
13681376 include Google ::Apis ::Core ::Hashable
13691377
@@ -1507,6 +1515,12 @@ class DatabaseResourceMetadata
15071515 # @return [Google::Apis::RedisV1beta1::UserLabels]
15081516 attr_accessor :user_label_set
15091517
1518+ # The resource zone. This is only applicable for zonal resources and will be
1519+ # empty for regional and multi-regional resources.
1520+ # Corresponds to the JSON property `zone`
1521+ # @return [String]
1522+ attr_accessor :zone
1523+
15101524 def initialize ( **args )
15111525 update! ( **args )
15121526 end
@@ -1537,6 +1551,7 @@ def update!(**args)
15371551 @tags_set = args [ :tags_set ] if args . key? ( :tags_set )
15381552 @updation_time = args [ :updation_time ] if args . key? ( :updation_time )
15391553 @user_label_set = args [ :user_label_set ] if args . key? ( :user_label_set )
1554+ @zone = args [ :zone ] if args . key? ( :zone )
15401555 end
15411556 end
15421557
@@ -1613,6 +1628,58 @@ def update!(**args)
16131628 end
16141629 end
16151630
1631+ # Database resource signal data. This is used to send signals to Condor which
1632+ # are based on the DB/Instance/Fleet level configurations. These will be used to
1633+ # send signals for all inventory types. Next ID: 7
1634+ class DatabaseResourceSignalData
1635+ include Google ::Apis ::Core ::Hashable
1636+
1637+ # Required. Full Resource name of the source resource.
1638+ # Corresponds to the JSON property `fullResourceName`
1639+ # @return [String]
1640+ attr_accessor :full_resource_name
1641+
1642+ # Required. Last time signal was refreshed
1643+ # Corresponds to the JSON property `lastRefreshTime`
1644+ # @return [String]
1645+ attr_accessor :last_refresh_time
1646+
1647+ # DatabaseResourceId will serve as primary key for any resource ingestion event.
1648+ # Corresponds to the JSON property `resourceId`
1649+ # @return [Google::Apis::RedisV1beta1::DatabaseResourceId]
1650+ attr_accessor :resource_id
1651+
1652+ # Signal data for boolean signals.
1653+ # Corresponds to the JSON property `signalBoolValue`
1654+ # @return [Boolean]
1655+ attr_accessor :signal_bool_value
1656+ alias_method :signal_bool_value? , :signal_bool_value
1657+
1658+ # Required. Output only. Signal state of the signal
1659+ # Corresponds to the JSON property `signalState`
1660+ # @return [String]
1661+ attr_accessor :signal_state
1662+
1663+ # Required. Signal type of the signal
1664+ # Corresponds to the JSON property `signalType`
1665+ # @return [String]
1666+ attr_accessor :signal_type
1667+
1668+ def initialize ( **args )
1669+ update! ( **args )
1670+ end
1671+
1672+ # Update properties of this object
1673+ def update! ( **args )
1674+ @full_resource_name = args [ :full_resource_name ] if args . key? ( :full_resource_name )
1675+ @last_refresh_time = args [ :last_refresh_time ] if args . key? ( :last_refresh_time )
1676+ @resource_id = args [ :resource_id ] if args . key? ( :resource_id )
1677+ @signal_bool_value = args [ :signal_bool_value ] if args . key? ( :signal_bool_value )
1678+ @signal_state = args [ :signal_state ] if args . key? ( :signal_state )
1679+ @signal_type = args [ :signal_type ] if args . key? ( :signal_type )
1680+ end
1681+ end
1682+
16161683 # Endpoints on each network, for Redis clients to connect to the cluster.
16171684 class DiscoveryEndpoint
16181685 include Google ::Apis ::Core ::Hashable
0 commit comments