Skip to content

Commit 0c2e364

Browse files
yoshi-automationsofisl
authored andcommitted
feat(redis): update the API
#### redis:v1beta1 The following keys were added: - schemas.ConfigBasedSignalData.description - schemas.ConfigBasedSignalData.id - schemas.ConfigBasedSignalData.properties.fullResourceName.description - schemas.ConfigBasedSignalData.properties.fullResourceName.type - schemas.ConfigBasedSignalData.properties.lastRefreshTime.description - schemas.ConfigBasedSignalData.properties.lastRefreshTime.format - schemas.ConfigBasedSignalData.properties.lastRefreshTime.type - schemas.ConfigBasedSignalData.properties.resourceId.$ref - schemas.ConfigBasedSignalData.properties.resourceId.description - schemas.ConfigBasedSignalData.properties.signalBoolValue.description - schemas.ConfigBasedSignalData.properties.signalBoolValue.type - schemas.ConfigBasedSignalData.properties.signalType.description - schemas.ConfigBasedSignalData.properties.signalType.enum - schemas.ConfigBasedSignalData.properties.signalType.enumDescriptions - schemas.ConfigBasedSignalData.properties.signalType.type - schemas.ConfigBasedSignalData.type - schemas.CrossClusterReplicationConfig.properties.clusterRole.readOnly - schemas.DatabaseResourceFeed.properties.configBasedSignalData.$ref - schemas.DatabaseResourceFeed.properties.configBasedSignalData.description - schemas.Product.properties.minorVersion.description - schemas.Product.properties.minorVersion.type - schemas.RemoteCluster.properties.cluster.readOnly The following keys were changed: - schemas.ClusterWeeklyMaintenanceWindow.properties.day.description - schemas.ClusterWeeklyMaintenanceWindow.properties.startTime.description - schemas.CrossClusterReplicationConfig.properties.clusterRole.description - schemas.DatabaseResourceFeed.description - schemas.DatabaseResourceFeed.properties.feedType.enum - schemas.DatabaseResourceFeed.properties.feedType.enumDescriptions - schemas.DatabaseResourceHealthSignalData.properties.signalType.enum - schemas.DatabaseResourceHealthSignalData.properties.signalType.enumDeprecated - schemas.DatabaseResourceHealthSignalData.properties.signalType.enumDescriptions - schemas.DatabaseResourceRecommendationSignalData.properties.signalType.enum - schemas.DatabaseResourceRecommendationSignalData.properties.signalType.enumDeprecated - schemas.DatabaseResourceRecommendationSignalData.properties.signalType.enumDescriptions - schemas.RemoteCluster.properties.cluster.description #### redis:v1 The following keys were added: - schemas.ConfigBasedSignalData.description - schemas.ConfigBasedSignalData.id - schemas.ConfigBasedSignalData.properties.fullResourceName.description - schemas.ConfigBasedSignalData.properties.fullResourceName.type - schemas.ConfigBasedSignalData.properties.lastRefreshTime.description - schemas.ConfigBasedSignalData.properties.lastRefreshTime.format - schemas.ConfigBasedSignalData.properties.lastRefreshTime.type - schemas.ConfigBasedSignalData.properties.resourceId.$ref - schemas.ConfigBasedSignalData.properties.resourceId.description - schemas.ConfigBasedSignalData.properties.signalBoolValue.description - schemas.ConfigBasedSignalData.properties.signalBoolValue.type - schemas.ConfigBasedSignalData.properties.signalType.description - schemas.ConfigBasedSignalData.properties.signalType.enum - schemas.ConfigBasedSignalData.properties.signalType.enumDescriptions - schemas.ConfigBasedSignalData.properties.signalType.type - schemas.ConfigBasedSignalData.type - schemas.CrossClusterReplicationConfig.properties.clusterRole.readOnly - schemas.DatabaseResourceFeed.properties.configBasedSignalData.$ref - schemas.DatabaseResourceFeed.properties.configBasedSignalData.description - schemas.Product.properties.minorVersion.description - schemas.Product.properties.minorVersion.type - schemas.RemoteCluster.properties.cluster.readOnly The following keys were changed: - schemas.ClusterWeeklyMaintenanceWindow.properties.day.description - schemas.ClusterWeeklyMaintenanceWindow.properties.startTime.description - schemas.CrossClusterReplicationConfig.properties.clusterRole.description - schemas.DatabaseResourceFeed.description - schemas.DatabaseResourceFeed.properties.feedType.enum - schemas.DatabaseResourceFeed.properties.feedType.enumDescriptions - schemas.DatabaseResourceHealthSignalData.properties.signalType.enum - schemas.DatabaseResourceHealthSignalData.properties.signalType.enumDeprecated - schemas.DatabaseResourceHealthSignalData.properties.signalType.enumDescriptions - schemas.DatabaseResourceRecommendationSignalData.properties.signalType.enum - schemas.DatabaseResourceRecommendationSignalData.properties.signalType.enumDeprecated - schemas.DatabaseResourceRecommendationSignalData.properties.signalType.enumDescriptions - schemas.RemoteCluster.properties.cluster.description
1 parent 6796910 commit 0c2e364

File tree

4 files changed

+224
-34
lines changed

4 files changed

+224
-34
lines changed

discovery/redis-v1.json

Lines changed: 74 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1073,7 +1073,7 @@
10731073
}
10741074
}
10751075
},
1076-
"revision": "20250627",
1076+
"revision": "20250701",
10771077
"rootUrl": "https://redis.googleapis.com/",
10781078
"schemas": {
10791079
"AOFConfig": {
@@ -1775,7 +1775,7 @@
17751775
"id": "ClusterWeeklyMaintenanceWindow",
17761776
"properties": {
17771777
"day": {
1778-
"description": "Allows to define schedule that runs specified day of the week.",
1778+
"description": "Optional. Allows to define schedule that runs specified day of the week.",
17791779
"enum": [
17801780
"DAY_OF_WEEK_UNSPECIFIED",
17811781
"MONDAY",
@@ -1800,7 +1800,7 @@
18001800
},
18011801
"startTime": {
18021802
"$ref": "TimeOfDay",
1803-
"description": "Start time of the window in UTC."
1803+
"description": "Optional. Start time of the window in UTC."
18041804
}
18051805
},
18061806
"type": "object"
@@ -1820,6 +1820,50 @@
18201820
},
18211821
"type": "object"
18221822
},
1823+
"ConfigBasedSignalData": {
1824+
"description": "Config based signal data. This is used to send signals to Condor which are based on the DB level configurations. These will be used to send signals for self managed databases.",
1825+
"id": "ConfigBasedSignalData",
1826+
"properties": {
1827+
"fullResourceName": {
1828+
"description": "Required. Full Resource name of the source resource.",
1829+
"type": "string"
1830+
},
1831+
"lastRefreshTime": {
1832+
"description": "Required. Last time signal was refreshed",
1833+
"format": "google-datetime",
1834+
"type": "string"
1835+
},
1836+
"resourceId": {
1837+
"$ref": "DatabaseResourceId",
1838+
"description": "Database resource id."
1839+
},
1840+
"signalBoolValue": {
1841+
"description": "Signal data for boolean signals.",
1842+
"type": "boolean"
1843+
},
1844+
"signalType": {
1845+
"description": "Required. Signal type of the signal",
1846+
"enum": [
1847+
"SIGNAL_TYPE_UNSPECIFIED",
1848+
"SIGNAL_TYPE_OUTDATED_MINOR_VERSION",
1849+
"SIGNAL_TYPE_DATABASE_AUDITING_DISABLED",
1850+
"SIGNAL_TYPE_NO_ROOT_PASSWORD",
1851+
"SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS",
1852+
"SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS"
1853+
],
1854+
"enumDescriptions": [
1855+
"Unspecified signal type.",
1856+
"Outdated Minor Version",
1857+
"Represents database auditing is disabled.",
1858+
"Represents if a database has a password configured for the root account or not.",
1859+
"Represents if a resource is exposed to public access.",
1860+
"Represents if a resources requires all incoming connections to use SSL or not."
1861+
],
1862+
"type": "string"
1863+
}
1864+
},
1865+
"type": "object"
1866+
},
18231867
"ConnectionDetail": {
18241868
"description": "Detailed information of each PSC connection.",
18251869
"id": "ConnectionDetail",
@@ -1840,7 +1884,7 @@
18401884
"id": "CrossClusterReplicationConfig",
18411885
"properties": {
18421886
"clusterRole": {
1843-
"description": "The role of the cluster in cross cluster replication.",
1887+
"description": "Output only. The role of the cluster in cross cluster replication.",
18441888
"enum": [
18451889
"CLUSTER_ROLE_UNSPECIFIED",
18461890
"NONE",
@@ -1853,6 +1897,7 @@
18531897
"A cluster that allows both reads and writes. Any data written to this cluster is also replicated to the attached secondary clusters.",
18541898
"A cluster that allows only reads and replicates data from a primary cluster."
18551899
],
1900+
"readOnly": true,
18561901
"type": "string"
18571902
},
18581903
"membership": {
@@ -1895,9 +1940,13 @@
18951940
"type": "object"
18961941
},
18971942
"DatabaseResourceFeed": {
1898-
"description": "DatabaseResourceFeed is the top level proto to be used to ingest different database resource level events into Condor platform. Next ID: 8",
1943+
"description": "DatabaseResourceFeed is the top level proto to be used to ingest different database resource level events into Condor platform. Next ID: 9",
18991944
"id": "DatabaseResourceFeed",
19001945
"properties": {
1946+
"configBasedSignalData": {
1947+
"$ref": "ConfigBasedSignalData",
1948+
"description": "Config based signal data is used to ingest signals that are generated based on the configuration of the database resource."
1949+
},
19011950
"feedTimestamp": {
19021951
"description": "Required. Timestamp when feed is generated.",
19031952
"format": "google-datetime",
@@ -1910,14 +1959,16 @@
19101959
"RESOURCE_METADATA",
19111960
"OBSERVABILITY_DATA",
19121961
"SECURITY_FINDING_DATA",
1913-
"RECOMMENDATION_SIGNAL_DATA"
1962+
"RECOMMENDATION_SIGNAL_DATA",
1963+
"CONFIG_BASED_SIGNAL_DATA"
19141964
],
19151965
"enumDescriptions": [
19161966
"",
19171967
"Database resource metadata feed from control plane",
19181968
"Database resource monitoring data",
19191969
"Database resource security health signal data",
1920-
"Database resource recommendation signal data"
1970+
"Database resource recommendation signal data",
1971+
"Database config based signal data"
19211972
],
19221973
"type": "string"
19231974
},
@@ -2151,7 +2202,8 @@
21512202
"SIGNAL_TYPE_HIGH_WRITE_PRESSURE",
21522203
"SIGNAL_TYPE_HIGH_READ_PRESSURE",
21532204
"SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED",
2154-
"SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED"
2205+
"SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED",
2206+
"SIGNAL_TYPE_OUTDATED_MINOR_VERSION"
21552207
],
21562208
"enumDeprecated": [
21572209
false,
@@ -2249,6 +2301,7 @@
22492301
false,
22502302
false,
22512303
false,
2304+
false,
22522305
false
22532306
],
22542307
"enumDescriptions": [
@@ -2347,7 +2400,8 @@
23472400
"Heavy write pressure on the database rows.",
23482401
"Heavy read pressure on the database rows.",
23492402
"Encryption org policy not satisfied.",
2350-
"Location org policy not satisfied."
2403+
"Location org policy not satisfied.",
2404+
"Outdated DB minor version."
23512405
],
23522406
"type": "string"
23532407
},
@@ -2764,7 +2818,8 @@
27642818
"SIGNAL_TYPE_HIGH_WRITE_PRESSURE",
27652819
"SIGNAL_TYPE_HIGH_READ_PRESSURE",
27662820
"SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED",
2767-
"SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED"
2821+
"SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED",
2822+
"SIGNAL_TYPE_OUTDATED_MINOR_VERSION"
27682823
],
27692824
"enumDeprecated": [
27702825
false,
@@ -2862,6 +2917,7 @@
28622917
false,
28632918
false,
28642919
false,
2920+
false,
28652921
false
28662922
],
28672923
"enumDescriptions": [
@@ -2960,7 +3016,8 @@
29603016
"Heavy write pressure on the database rows.",
29613017
"Heavy read pressure on the database rows.",
29623018
"Encryption org policy not satisfied.",
2963-
"Location org policy not satisfied."
3019+
"Location org policy not satisfied.",
3020+
"Outdated DB minor version."
29643021
],
29653022
"type": "string"
29663023
}
@@ -4218,6 +4275,10 @@
42184275
],
42194276
"type": "string"
42204277
},
4278+
"minorVersion": {
4279+
"description": "Minor version of the underlying database engine. Example values: For MySQL, it could be \"8.0.32\", \"5.7.32\" etc.. For Postgres, it could be \"14.3\", \"15.3\" etc..",
4280+
"type": "string"
4281+
},
42214282
"type": {
42224283
"description": "Type of specific database product. It could be CloudSQL, AlloyDB etc..",
42234284
"enum": [
@@ -4518,7 +4579,8 @@
45184579
"id": "RemoteCluster",
45194580
"properties": {
45204581
"cluster": {
4521-
"description": "The full resource path of the remote cluster in the format: projects//locations//clusters/",
4582+
"description": "Output only. The full resource path of the remote cluster in the format: projects//locations//clusters/",
4583+
"readOnly": true,
45224584
"type": "string"
45234585
},
45244586
"uid": {

0 commit comments

Comments
 (0)