Skip to content

Commit 15cd433

Browse files
yoshi-automationsofisl
authored andcommitted
feat(redis): update the API
#### redis:v1beta1 The following keys were added: - schemas.BackupDRMetadata.description - schemas.BackupDRMetadata.id - schemas.BackupDRMetadata.properties.backupConfiguration.$ref - schemas.BackupDRMetadata.properties.backupConfiguration.description - schemas.BackupDRMetadata.properties.backupRun.$ref - schemas.BackupDRMetadata.properties.backupRun.description - schemas.BackupDRMetadata.properties.backupdrConfiguration.$ref - schemas.BackupDRMetadata.properties.backupdrConfiguration.description - schemas.BackupDRMetadata.properties.fullResourceName.description - schemas.BackupDRMetadata.properties.fullResourceName.type - schemas.BackupDRMetadata.properties.lastRefreshTime.description - schemas.BackupDRMetadata.properties.lastRefreshTime.format - schemas.BackupDRMetadata.properties.lastRefreshTime.type - schemas.BackupDRMetadata.properties.resourceId.$ref - schemas.BackupDRMetadata.properties.resourceId.description - schemas.BackupDRMetadata.type - schemas.DatabaseResourceFeed.properties.backupdrMetadata.$ref - schemas.DatabaseResourceFeed.properties.backupdrMetadata.description The following keys were changed: - 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 #### redis:v1 The following keys were added: - schemas.BackupDRMetadata.description - schemas.BackupDRMetadata.id - schemas.BackupDRMetadata.properties.backupConfiguration.$ref - schemas.BackupDRMetadata.properties.backupConfiguration.description - schemas.BackupDRMetadata.properties.backupRun.$ref - schemas.BackupDRMetadata.properties.backupRun.description - schemas.BackupDRMetadata.properties.backupdrConfiguration.$ref - schemas.BackupDRMetadata.properties.backupdrConfiguration.description - schemas.BackupDRMetadata.properties.fullResourceName.description - schemas.BackupDRMetadata.properties.fullResourceName.type - schemas.BackupDRMetadata.properties.lastRefreshTime.description - schemas.BackupDRMetadata.properties.lastRefreshTime.format - schemas.BackupDRMetadata.properties.lastRefreshTime.type - schemas.BackupDRMetadata.properties.resourceId.$ref - schemas.BackupDRMetadata.properties.resourceId.description - schemas.BackupDRMetadata.type - schemas.DatabaseResourceFeed.properties.backupdrMetadata.$ref - schemas.DatabaseResourceFeed.properties.backupdrMetadata.description The following keys were changed: - 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
1 parent 718e046 commit 15cd433

File tree

4 files changed

+184
-18
lines changed

4 files changed

+184
-18
lines changed

discovery/redis-v1.json

Lines changed: 58 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1073,7 +1073,7 @@
10731073
}
10741074
}
10751075
},
1076-
"revision": "20250718",
1076+
"revision": "20250729",
10771077
"rootUrl": "https://redis.googleapis.com/",
10781078
"schemas": {
10791079
"AOFConfig": {
@@ -1378,6 +1378,38 @@
13781378
},
13791379
"type": "object"
13801380
},
1381+
"BackupDRMetadata": {
1382+
"description": "BackupDRMetadata contains information about the backup and disaster recovery metadata of a database resource.",
1383+
"id": "BackupDRMetadata",
1384+
"properties": {
1385+
"backupConfiguration": {
1386+
"$ref": "BackupConfiguration",
1387+
"description": "Backup configuration for this instance."
1388+
},
1389+
"backupRun": {
1390+
"$ref": "BackupRun",
1391+
"description": "Latest backup run information for this instance."
1392+
},
1393+
"backupdrConfiguration": {
1394+
"$ref": "BackupDRConfiguration",
1395+
"description": "BackupDR configuration for this instance."
1396+
},
1397+
"fullResourceName": {
1398+
"description": "Required. Full resource name of this instance.",
1399+
"type": "string"
1400+
},
1401+
"lastRefreshTime": {
1402+
"description": "Required. Last time backup configuration was refreshed.",
1403+
"format": "google-datetime",
1404+
"type": "string"
1405+
},
1406+
"resourceId": {
1407+
"$ref": "DatabaseResourceId",
1408+
"description": "Required. Database resource id."
1409+
}
1410+
},
1411+
"type": "object"
1412+
},
13811413
"BackupFile": {
13821414
"description": "Backup is consisted of multiple backup files.",
13831415
"id": "BackupFile",
@@ -1961,9 +1993,13 @@
19611993
"type": "object"
19621994
},
19631995
"DatabaseResourceFeed": {
1964-
"description": "DatabaseResourceFeed is the top level proto to be used to ingest different database resource level events into Condor platform. Next ID: 9",
1996+
"description": "DatabaseResourceFeed is the top level proto to be used to ingest different database resource level events into Condor platform. Next ID: 10",
19651997
"id": "DatabaseResourceFeed",
19661998
"properties": {
1999+
"backupdrMetadata": {
2000+
"$ref": "BackupDRMetadata",
2001+
"description": "BackupDR metadata is used to ingest metadata from BackupDR."
2002+
},
19672003
"configBasedSignalData": {
19682004
"$ref": "ConfigBasedSignalData",
19692005
"description": "Config based signal data is used to ingest signals that are generated based on the configuration of the database resource."
@@ -1981,15 +2017,17 @@
19812017
"OBSERVABILITY_DATA",
19822018
"SECURITY_FINDING_DATA",
19832019
"RECOMMENDATION_SIGNAL_DATA",
1984-
"CONFIG_BASED_SIGNAL_DATA"
2020+
"CONFIG_BASED_SIGNAL_DATA",
2021+
"BACKUPDR_METADATA"
19852022
],
19862023
"enumDescriptions": [
19872024
"",
19882025
"Database resource metadata feed from control plane",
19892026
"Database resource monitoring data",
19902027
"Database resource security health signal data",
19912028
"Database resource recommendation signal data",
1992-
"Database config based signal data"
2029+
"Database config based signal data",
2030+
"Database resource metadata from BackupDR"
19932031
],
19942032
"type": "string"
19952033
},
@@ -2226,7 +2264,9 @@
22262264
"SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED",
22272265
"SIGNAL_TYPE_OUTDATED_MINOR_VERSION",
22282266
"SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED",
2229-
"SIGNAL_TYPE_MANY_IDLE_CONNECTIONS"
2267+
"SIGNAL_TYPE_MANY_IDLE_CONNECTIONS",
2268+
"SIGNAL_TYPE_REPLICATION_LAG",
2269+
"SIGNAL_TYPE_OUTDATED_VERSION"
22302270
],
22312271
"enumDeprecated": [
22322272
false,
@@ -2327,6 +2367,8 @@
23272367
false,
23282368
false,
23292369
false,
2370+
false,
2371+
false,
23302372
false
23312373
],
23322374
"enumDescriptions": [
@@ -2428,7 +2470,9 @@
24282470
"Location org policy not satisfied.",
24292471
"Outdated DB minor version.",
24302472
"Schema not optimized.",
2431-
"High number of idle connections."
2473+
"High number of idle connections.",
2474+
"Replication delay.",
2475+
"Outdated version."
24322476
],
24332477
"type": "string"
24342478
},
@@ -2853,7 +2897,9 @@
28532897
"SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED",
28542898
"SIGNAL_TYPE_OUTDATED_MINOR_VERSION",
28552899
"SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED",
2856-
"SIGNAL_TYPE_MANY_IDLE_CONNECTIONS"
2900+
"SIGNAL_TYPE_MANY_IDLE_CONNECTIONS",
2901+
"SIGNAL_TYPE_REPLICATION_LAG",
2902+
"SIGNAL_TYPE_OUTDATED_VERSION"
28572903
],
28582904
"enumDeprecated": [
28592905
false,
@@ -2954,6 +3000,8 @@
29543000
false,
29553001
false,
29563002
false,
3003+
false,
3004+
false,
29573005
false
29583006
],
29593007
"enumDescriptions": [
@@ -3055,7 +3103,9 @@
30553103
"Location org policy not satisfied.",
30563104
"Outdated DB minor version.",
30573105
"Schema not optimized.",
3058-
"High number of idle connections."
3106+
"High number of idle connections.",
3107+
"Replication delay.",
3108+
"Outdated version."
30593109
],
30603110
"type": "string"
30613111
}

discovery/redis-v1beta1.json

Lines changed: 58 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1073,7 +1073,7 @@
10731073
}
10741074
}
10751075
},
1076-
"revision": "20250718",
1076+
"revision": "20250729",
10771077
"rootUrl": "https://redis.googleapis.com/",
10781078
"schemas": {
10791079
"AOFConfig": {
@@ -1378,6 +1378,38 @@
13781378
},
13791379
"type": "object"
13801380
},
1381+
"BackupDRMetadata": {
1382+
"description": "BackupDRMetadata contains information about the backup and disaster recovery metadata of a database resource.",
1383+
"id": "BackupDRMetadata",
1384+
"properties": {
1385+
"backupConfiguration": {
1386+
"$ref": "BackupConfiguration",
1387+
"description": "Backup configuration for this instance."
1388+
},
1389+
"backupRun": {
1390+
"$ref": "BackupRun",
1391+
"description": "Latest backup run information for this instance."
1392+
},
1393+
"backupdrConfiguration": {
1394+
"$ref": "BackupDRConfiguration",
1395+
"description": "BackupDR configuration for this instance."
1396+
},
1397+
"fullResourceName": {
1398+
"description": "Required. Full resource name of this instance.",
1399+
"type": "string"
1400+
},
1401+
"lastRefreshTime": {
1402+
"description": "Required. Last time backup configuration was refreshed.",
1403+
"format": "google-datetime",
1404+
"type": "string"
1405+
},
1406+
"resourceId": {
1407+
"$ref": "DatabaseResourceId",
1408+
"description": "Required. Database resource id."
1409+
}
1410+
},
1411+
"type": "object"
1412+
},
13811413
"BackupFile": {
13821414
"description": "Backup is consisted of multiple backup files.",
13831415
"id": "BackupFile",
@@ -1961,9 +1993,13 @@
19611993
"type": "object"
19621994
},
19631995
"DatabaseResourceFeed": {
1964-
"description": "DatabaseResourceFeed is the top level proto to be used to ingest different database resource level events into Condor platform. Next ID: 9",
1996+
"description": "DatabaseResourceFeed is the top level proto to be used to ingest different database resource level events into Condor platform. Next ID: 10",
19651997
"id": "DatabaseResourceFeed",
19661998
"properties": {
1999+
"backupdrMetadata": {
2000+
"$ref": "BackupDRMetadata",
2001+
"description": "BackupDR metadata is used to ingest metadata from BackupDR."
2002+
},
19672003
"configBasedSignalData": {
19682004
"$ref": "ConfigBasedSignalData",
19692005
"description": "Config based signal data is used to ingest signals that are generated based on the configuration of the database resource."
@@ -1981,15 +2017,17 @@
19812017
"OBSERVABILITY_DATA",
19822018
"SECURITY_FINDING_DATA",
19832019
"RECOMMENDATION_SIGNAL_DATA",
1984-
"CONFIG_BASED_SIGNAL_DATA"
2020+
"CONFIG_BASED_SIGNAL_DATA",
2021+
"BACKUPDR_METADATA"
19852022
],
19862023
"enumDescriptions": [
19872024
"",
19882025
"Database resource metadata feed from control plane",
19892026
"Database resource monitoring data",
19902027
"Database resource security health signal data",
19912028
"Database resource recommendation signal data",
1992-
"Database config based signal data"
2029+
"Database config based signal data",
2030+
"Database resource metadata from BackupDR"
19932031
],
19942032
"type": "string"
19952033
},
@@ -2226,7 +2264,9 @@
22262264
"SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED",
22272265
"SIGNAL_TYPE_OUTDATED_MINOR_VERSION",
22282266
"SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED",
2229-
"SIGNAL_TYPE_MANY_IDLE_CONNECTIONS"
2267+
"SIGNAL_TYPE_MANY_IDLE_CONNECTIONS",
2268+
"SIGNAL_TYPE_REPLICATION_LAG",
2269+
"SIGNAL_TYPE_OUTDATED_VERSION"
22302270
],
22312271
"enumDeprecated": [
22322272
false,
@@ -2327,6 +2367,8 @@
23272367
false,
23282368
false,
23292369
false,
2370+
false,
2371+
false,
23302372
false
23312373
],
23322374
"enumDescriptions": [
@@ -2428,7 +2470,9 @@
24282470
"Location org policy not satisfied.",
24292471
"Outdated DB minor version.",
24302472
"Schema not optimized.",
2431-
"High number of idle connections."
2473+
"High number of idle connections.",
2474+
"Replication delay.",
2475+
"Outdated version."
24322476
],
24332477
"type": "string"
24342478
},
@@ -2853,7 +2897,9 @@
28532897
"SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED",
28542898
"SIGNAL_TYPE_OUTDATED_MINOR_VERSION",
28552899
"SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED",
2856-
"SIGNAL_TYPE_MANY_IDLE_CONNECTIONS"
2900+
"SIGNAL_TYPE_MANY_IDLE_CONNECTIONS",
2901+
"SIGNAL_TYPE_REPLICATION_LAG",
2902+
"SIGNAL_TYPE_OUTDATED_VERSION"
28572903
],
28582904
"enumDeprecated": [
28592905
false,
@@ -2954,6 +3000,8 @@
29543000
false,
29553001
false,
29563002
false,
3003+
false,
3004+
false,
29573005
false
29583006
],
29593007
"enumDescriptions": [
@@ -3055,7 +3103,9 @@
30553103
"Location org policy not satisfied.",
30563104
"Outdated DB minor version.",
30573105
"Schema not optimized.",
3058-
"High number of idle connections."
3106+
"High number of idle connections.",
3107+
"Replication delay.",
3108+
"Outdated version."
30593109
],
30603110
"type": "string"
30613111
}

src/apis/redis/v1.ts

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,35 @@ export namespace redis_v1 {
302302
*/
303303
backupdrManaged?: boolean | null;
304304
}
305+
/**
306+
* BackupDRMetadata contains information about the backup and disaster recovery metadata of a database resource.
307+
*/
308+
export interface Schema$BackupDRMetadata {
309+
/**
310+
* Backup configuration for this instance.
311+
*/
312+
backupConfiguration?: Schema$BackupConfiguration;
313+
/**
314+
* BackupDR configuration for this instance.
315+
*/
316+
backupdrConfiguration?: Schema$BackupDRConfiguration;
317+
/**
318+
* Latest backup run information for this instance.
319+
*/
320+
backupRun?: Schema$BackupRun;
321+
/**
322+
* Required. Full resource name of this instance.
323+
*/
324+
fullResourceName?: string | null;
325+
/**
326+
* Required. Last time backup configuration was refreshed.
327+
*/
328+
lastRefreshTime?: string | null;
329+
/**
330+
* Required. Database resource id.
331+
*/
332+
resourceId?: Schema$DatabaseResourceId;
333+
}
305334
/**
306335
* Backup is consisted of multiple backup files.
307336
*/
@@ -660,9 +689,13 @@ export namespace redis_v1 {
660689
internalResourceMetadata?: Schema$InternalResourceMetadata[];
661690
}
662691
/**
663-
* DatabaseResourceFeed is the top level proto to be used to ingest different database resource level events into Condor platform. Next ID: 9
692+
* DatabaseResourceFeed is the top level proto to be used to ingest different database resource level events into Condor platform. Next ID: 10
664693
*/
665694
export interface Schema$DatabaseResourceFeed {
695+
/**
696+
* BackupDR metadata is used to ingest metadata from BackupDR.
697+
*/
698+
backupdrMetadata?: Schema$BackupDRMetadata;
666699
/**
667700
* Config based signal data is used to ingest signals that are generated based on the configuration of the database resource.
668701
*/

src/apis/redis/v1beta1.ts

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,35 @@ export namespace redis_v1beta1 {
302302
*/
303303
backupdrManaged?: boolean | null;
304304
}
305+
/**
306+
* BackupDRMetadata contains information about the backup and disaster recovery metadata of a database resource.
307+
*/
308+
export interface Schema$BackupDRMetadata {
309+
/**
310+
* Backup configuration for this instance.
311+
*/
312+
backupConfiguration?: Schema$BackupConfiguration;
313+
/**
314+
* BackupDR configuration for this instance.
315+
*/
316+
backupdrConfiguration?: Schema$BackupDRConfiguration;
317+
/**
318+
* Latest backup run information for this instance.
319+
*/
320+
backupRun?: Schema$BackupRun;
321+
/**
322+
* Required. Full resource name of this instance.
323+
*/
324+
fullResourceName?: string | null;
325+
/**
326+
* Required. Last time backup configuration was refreshed.
327+
*/
328+
lastRefreshTime?: string | null;
329+
/**
330+
* Required. Database resource id.
331+
*/
332+
resourceId?: Schema$DatabaseResourceId;
333+
}
305334
/**
306335
* Backup is consisted of multiple backup files.
307336
*/
@@ -660,9 +689,13 @@ export namespace redis_v1beta1 {
660689
internalResourceMetadata?: Schema$InternalResourceMetadata[];
661690
}
662691
/**
663-
* DatabaseResourceFeed is the top level proto to be used to ingest different database resource level events into Condor platform. Next ID: 9
692+
* DatabaseResourceFeed is the top level proto to be used to ingest different database resource level events into Condor platform. Next ID: 10
664693
*/
665694
export interface Schema$DatabaseResourceFeed {
695+
/**
696+
* BackupDR metadata is used to ingest metadata from BackupDR.
697+
*/
698+
backupdrMetadata?: Schema$BackupDRMetadata;
666699
/**
667700
* Config based signal data is used to ingest signals that are generated based on the configuration of the database resource.
668701
*/

0 commit comments

Comments
 (0)