Skip to content

Commit 4ad9a75

Browse files
yoshi-automationmiguelvelezsa
authored andcommitted
feat(redis): update the API
#### redis:v1beta1 The following keys were added: - schemas.BackupDRConfiguration.description - schemas.BackupDRConfiguration.id - schemas.BackupDRConfiguration.properties.backupdrManaged.description - schemas.BackupDRConfiguration.properties.backupdrManaged.type - schemas.BackupDRConfiguration.type - schemas.Cluster.properties.satisfiesPzi.description - schemas.Cluster.properties.satisfiesPzi.readOnly - schemas.Cluster.properties.satisfiesPzi.type - schemas.Cluster.properties.satisfiesPzs.description - schemas.Cluster.properties.satisfiesPzs.readOnly - schemas.Cluster.properties.satisfiesPzs.type - schemas.DatabaseResourceMetadata.properties.backupdrConfiguration.$ref - schemas.DatabaseResourceMetadata.properties.backupdrConfiguration.description - schemas.DatabaseResourceMetadata.properties.gcbdrConfiguration.deprecated The following keys were changed: - schemas.DatabaseResourceHealthSignalData.properties.signalType.enum - schemas.DatabaseResourceHealthSignalData.properties.signalType.enumDeprecated - schemas.DatabaseResourceHealthSignalData.properties.signalType.enumDescriptions - schemas.DatabaseResourceMetadata.description - schemas.DatabaseResourceRecommendationSignalData.properties.signalType.enum - schemas.DatabaseResourceRecommendationSignalData.properties.signalType.enumDeprecated - schemas.DatabaseResourceRecommendationSignalData.properties.signalType.enumDescriptions - schemas.Product.properties.engine.enum - schemas.Product.properties.engine.enumDeprecated - schemas.Product.properties.engine.enumDescriptions #### redis:v1 The following keys were added: - schemas.BackupDRConfiguration.description - schemas.BackupDRConfiguration.id - schemas.BackupDRConfiguration.properties.backupdrManaged.description - schemas.BackupDRConfiguration.properties.backupdrManaged.type - schemas.BackupDRConfiguration.type - schemas.Cluster.properties.satisfiesPzi.description - schemas.Cluster.properties.satisfiesPzi.readOnly - schemas.Cluster.properties.satisfiesPzi.type - schemas.Cluster.properties.satisfiesPzs.description - schemas.Cluster.properties.satisfiesPzs.readOnly - schemas.Cluster.properties.satisfiesPzs.type - schemas.DatabaseResourceMetadata.properties.backupdrConfiguration.$ref - schemas.DatabaseResourceMetadata.properties.backupdrConfiguration.description - schemas.DatabaseResourceMetadata.properties.gcbdrConfiguration.deprecated The following keys were changed: - schemas.DatabaseResourceHealthSignalData.properties.signalType.enum - schemas.DatabaseResourceHealthSignalData.properties.signalType.enumDeprecated - schemas.DatabaseResourceHealthSignalData.properties.signalType.enumDescriptions - schemas.DatabaseResourceMetadata.description - schemas.DatabaseResourceRecommendationSignalData.properties.signalType.enum - schemas.DatabaseResourceRecommendationSignalData.properties.signalType.enumDeprecated - schemas.DatabaseResourceRecommendationSignalData.properties.signalType.enumDescriptions - schemas.Product.properties.engine.enum - schemas.Product.properties.engine.enumDeprecated - schemas.Product.properties.engine.enumDescriptions
1 parent 15998f7 commit 4ad9a75

File tree

4 files changed

+150
-14
lines changed

4 files changed

+150
-14
lines changed

discovery/redis-v1.json

Lines changed: 47 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1073,7 +1073,7 @@
10731073
}
10741074
}
10751075
},
1076-
"revision": "20250701",
1076+
"revision": "20250718",
10771077
"rootUrl": "https://redis.googleapis.com/",
10781078
"schemas": {
10791079
"AOFConfig": {
@@ -1367,6 +1367,17 @@
13671367
},
13681368
"type": "object"
13691369
},
1370+
"BackupDRConfiguration": {
1371+
"description": "BackupDRConfiguration to capture the backup and disaster recovery details of database resource.",
1372+
"id": "BackupDRConfiguration",
1373+
"properties": {
1374+
"backupdrManaged": {
1375+
"description": "Indicates if the resource is managed by BackupDR.",
1376+
"type": "boolean"
1377+
}
1378+
},
1379+
"type": "object"
1380+
},
13701381
"BackupFile": {
13711382
"description": "Backup is consisted of multiple backup files.",
13721383
"id": "BackupFile",
@@ -1615,6 +1626,16 @@
16151626
"format": "int32",
16161627
"type": "integer"
16171628
},
1629+
"satisfiesPzi": {
1630+
"description": "Optional. Output only. Reserved for future use.",
1631+
"readOnly": true,
1632+
"type": "boolean"
1633+
},
1634+
"satisfiesPzs": {
1635+
"description": "Optional. Output only. Reserved for future use.",
1636+
"readOnly": true,
1637+
"type": "boolean"
1638+
},
16181639
"shardCount": {
16191640
"description": "Optional. Number of shards for the Redis cluster.",
16201641
"format": "int32",
@@ -2203,7 +2224,9 @@
22032224
"SIGNAL_TYPE_HIGH_READ_PRESSURE",
22042225
"SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED",
22052226
"SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED",
2206-
"SIGNAL_TYPE_OUTDATED_MINOR_VERSION"
2227+
"SIGNAL_TYPE_OUTDATED_MINOR_VERSION",
2228+
"SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED",
2229+
"SIGNAL_TYPE_MANY_IDLE_CONNECTIONS"
22072230
],
22082231
"enumDeprecated": [
22092232
false,
@@ -2302,6 +2325,8 @@
23022325
false,
23032326
false,
23042327
false,
2328+
false,
2329+
false,
23052330
false
23062331
],
23072332
"enumDescriptions": [
@@ -2401,7 +2426,9 @@
24012426
"Heavy read pressure on the database rows.",
24022427
"Encryption org policy not satisfied.",
24032428
"Location org policy not satisfied.",
2404-
"Outdated DB minor version."
2429+
"Outdated DB minor version.",
2430+
"Schema not optimized.",
2431+
"High number of idle connections."
24052432
],
24062433
"type": "string"
24072434
},
@@ -2465,7 +2492,7 @@
24652492
"type": "object"
24662493
},
24672494
"DatabaseResourceMetadata": {
2468-
"description": "Common model for database resource instance metadata. Next ID: 25",
2495+
"description": "Common model for database resource instance metadata. Next ID: 26",
24692496
"id": "DatabaseResourceMetadata",
24702497
"properties": {
24712498
"availabilityConfiguration": {
@@ -2480,6 +2507,10 @@
24802507
"$ref": "BackupRun",
24812508
"description": "Latest backup run information for this instance"
24822509
},
2510+
"backupdrConfiguration": {
2511+
"$ref": "BackupDRConfiguration",
2512+
"description": "Optional. BackupDR Configuration for the resource."
2513+
},
24832514
"creationTime": {
24842515
"description": "The creation time of the resource, i.e. the time when resource is created and recorded in partner service.",
24852516
"format": "google-datetime",
@@ -2552,6 +2583,7 @@
25522583
},
25532584
"gcbdrConfiguration": {
25542585
"$ref": "GCBDRConfiguration",
2586+
"deprecated": true,
25552587
"description": "GCBDR configuration for the resource."
25562588
},
25572589
"id": {
@@ -2819,7 +2851,9 @@
28192851
"SIGNAL_TYPE_HIGH_READ_PRESSURE",
28202852
"SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED",
28212853
"SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED",
2822-
"SIGNAL_TYPE_OUTDATED_MINOR_VERSION"
2854+
"SIGNAL_TYPE_OUTDATED_MINOR_VERSION",
2855+
"SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED",
2856+
"SIGNAL_TYPE_MANY_IDLE_CONNECTIONS"
28232857
],
28242858
"enumDeprecated": [
28252859
false,
@@ -2918,6 +2952,8 @@
29182952
false,
29192953
false,
29202954
false,
2955+
false,
2956+
false,
29212957
false
29222958
],
29232959
"enumDescriptions": [
@@ -3017,7 +3053,9 @@
30173053
"Heavy read pressure on the database rows.",
30183054
"Encryption org policy not satisfied.",
30193055
"Location org policy not satisfied.",
3020-
"Outdated DB minor version."
3056+
"Outdated DB minor version.",
3057+
"Schema not optimized.",
3058+
"High number of idle connections."
30213059
],
30223060
"type": "string"
30233061
}
@@ -4230,6 +4268,7 @@
42304268
"ENGINE_OTHER",
42314269
"ENGINE_FIRESTORE_WITH_NATIVE_MODE",
42324270
"ENGINE_FIRESTORE_WITH_DATASTORE_MODE",
4271+
"ENGINE_FIRESTORE_WITH_MONGODB_COMPATIBILITY_MODE",
42334272
"ENGINE_EXADATA_ORACLE",
42344273
"ENGINE_ADB_SERVERLESS_ORACLE"
42354274
],
@@ -4251,6 +4290,7 @@
42514290
false,
42524291
false,
42534292
false,
4293+
false,
42544294
false
42554295
],
42564296
"enumDescriptions": [
@@ -4270,6 +4310,7 @@
42704310
"Other refers to rest of other database engine. This is to be when engine is known, but it is not present in this enum.",
42714311
"Firestore with native mode.",
42724312
"Firestore with datastore mode.",
4313+
"Firestore with MongoDB compatibility mode.",
42734314
"Oracle Exadata engine.",
42744315
"Oracle Autonomous DB Serverless engine."
42754316
],

discovery/redis-v1beta1.json

Lines changed: 47 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1073,7 +1073,7 @@
10731073
}
10741074
}
10751075
},
1076-
"revision": "20250701",
1076+
"revision": "20250718",
10771077
"rootUrl": "https://redis.googleapis.com/",
10781078
"schemas": {
10791079
"AOFConfig": {
@@ -1367,6 +1367,17 @@
13671367
},
13681368
"type": "object"
13691369
},
1370+
"BackupDRConfiguration": {
1371+
"description": "BackupDRConfiguration to capture the backup and disaster recovery details of database resource.",
1372+
"id": "BackupDRConfiguration",
1373+
"properties": {
1374+
"backupdrManaged": {
1375+
"description": "Indicates if the resource is managed by BackupDR.",
1376+
"type": "boolean"
1377+
}
1378+
},
1379+
"type": "object"
1380+
},
13701381
"BackupFile": {
13711382
"description": "Backup is consisted of multiple backup files.",
13721383
"id": "BackupFile",
@@ -1615,6 +1626,16 @@
16151626
"format": "int32",
16161627
"type": "integer"
16171628
},
1629+
"satisfiesPzi": {
1630+
"description": "Optional. Output only. Reserved for future use.",
1631+
"readOnly": true,
1632+
"type": "boolean"
1633+
},
1634+
"satisfiesPzs": {
1635+
"description": "Optional. Output only. Reserved for future use.",
1636+
"readOnly": true,
1637+
"type": "boolean"
1638+
},
16181639
"shardCount": {
16191640
"description": "Optional. Number of shards for the Redis cluster.",
16201641
"format": "int32",
@@ -2203,7 +2224,9 @@
22032224
"SIGNAL_TYPE_HIGH_READ_PRESSURE",
22042225
"SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED",
22052226
"SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED",
2206-
"SIGNAL_TYPE_OUTDATED_MINOR_VERSION"
2227+
"SIGNAL_TYPE_OUTDATED_MINOR_VERSION",
2228+
"SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED",
2229+
"SIGNAL_TYPE_MANY_IDLE_CONNECTIONS"
22072230
],
22082231
"enumDeprecated": [
22092232
false,
@@ -2302,6 +2325,8 @@
23022325
false,
23032326
false,
23042327
false,
2328+
false,
2329+
false,
23052330
false
23062331
],
23072332
"enumDescriptions": [
@@ -2401,7 +2426,9 @@
24012426
"Heavy read pressure on the database rows.",
24022427
"Encryption org policy not satisfied.",
24032428
"Location org policy not satisfied.",
2404-
"Outdated DB minor version."
2429+
"Outdated DB minor version.",
2430+
"Schema not optimized.",
2431+
"High number of idle connections."
24052432
],
24062433
"type": "string"
24072434
},
@@ -2465,7 +2492,7 @@
24652492
"type": "object"
24662493
},
24672494
"DatabaseResourceMetadata": {
2468-
"description": "Common model for database resource instance metadata. Next ID: 25",
2495+
"description": "Common model for database resource instance metadata. Next ID: 26",
24692496
"id": "DatabaseResourceMetadata",
24702497
"properties": {
24712498
"availabilityConfiguration": {
@@ -2480,6 +2507,10 @@
24802507
"$ref": "BackupRun",
24812508
"description": "Latest backup run information for this instance"
24822509
},
2510+
"backupdrConfiguration": {
2511+
"$ref": "BackupDRConfiguration",
2512+
"description": "Optional. BackupDR Configuration for the resource."
2513+
},
24832514
"creationTime": {
24842515
"description": "The creation time of the resource, i.e. the time when resource is created and recorded in partner service.",
24852516
"format": "google-datetime",
@@ -2552,6 +2583,7 @@
25522583
},
25532584
"gcbdrConfiguration": {
25542585
"$ref": "GCBDRConfiguration",
2586+
"deprecated": true,
25552587
"description": "GCBDR configuration for the resource."
25562588
},
25572589
"id": {
@@ -2819,7 +2851,9 @@
28192851
"SIGNAL_TYPE_HIGH_READ_PRESSURE",
28202852
"SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED",
28212853
"SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED",
2822-
"SIGNAL_TYPE_OUTDATED_MINOR_VERSION"
2854+
"SIGNAL_TYPE_OUTDATED_MINOR_VERSION",
2855+
"SIGNAL_TYPE_SCHEMA_NOT_OPTIMIZED",
2856+
"SIGNAL_TYPE_MANY_IDLE_CONNECTIONS"
28232857
],
28242858
"enumDeprecated": [
28252859
false,
@@ -2918,6 +2952,8 @@
29182952
false,
29192953
false,
29202954
false,
2955+
false,
2956+
false,
29212957
false
29222958
],
29232959
"enumDescriptions": [
@@ -3017,7 +3053,9 @@
30173053
"Heavy read pressure on the database rows.",
30183054
"Encryption org policy not satisfied.",
30193055
"Location org policy not satisfied.",
3020-
"Outdated DB minor version."
3056+
"Outdated DB minor version.",
3057+
"Schema not optimized.",
3058+
"High number of idle connections."
30213059
],
30223060
"type": "string"
30233061
}
@@ -4237,6 +4275,7 @@
42374275
"ENGINE_OTHER",
42384276
"ENGINE_FIRESTORE_WITH_NATIVE_MODE",
42394277
"ENGINE_FIRESTORE_WITH_DATASTORE_MODE",
4278+
"ENGINE_FIRESTORE_WITH_MONGODB_COMPATIBILITY_MODE",
42404279
"ENGINE_EXADATA_ORACLE",
42414280
"ENGINE_ADB_SERVERLESS_ORACLE"
42424281
],
@@ -4258,6 +4297,7 @@
42584297
false,
42594298
false,
42604299
false,
4300+
false,
42614301
false
42624302
],
42634303
"enumDescriptions": [
@@ -4277,6 +4317,7 @@
42774317
"Other refers to rest of other database engine. This is to be when engine is known, but it is not present in this enum.",
42784318
"Firestore with native mode.",
42794319
"Firestore with datastore mode.",
4320+
"Firestore with MongoDB compatibility mode.",
42804321
"Oracle Exadata engine.",
42814322
"Oracle Autonomous DB Serverless engine."
42824323
],

src/apis/redis/v1.ts

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,15 @@ export namespace redis_v1 {
293293
*/
294294
pointInTimeRecoveryEnabled?: boolean | null;
295295
}
296+
/**
297+
* BackupDRConfiguration to capture the backup and disaster recovery details of database resource.
298+
*/
299+
export interface Schema$BackupDRConfiguration {
300+
/**
301+
* Indicates if the resource is managed by BackupDR.
302+
*/
303+
backupdrManaged?: boolean | null;
304+
}
296305
/**
297306
* Backup is consisted of multiple backup files.
298307
*/
@@ -455,6 +464,14 @@ export namespace redis_v1 {
455464
* Optional. The number of replica nodes per shard.
456465
*/
457466
replicaCount?: number | null;
467+
/**
468+
* Optional. Output only. Reserved for future use.
469+
*/
470+
satisfiesPzi?: boolean | null;
471+
/**
472+
* Optional. Output only. Reserved for future use.
473+
*/
474+
satisfiesPzs?: boolean | null;
458475
/**
459476
* Optional. Number of shards for the Redis cluster.
460477
*/
@@ -751,7 +768,7 @@ export namespace redis_v1 {
751768
uniqueId?: string | null;
752769
}
753770
/**
754-
* Common model for database resource instance metadata. Next ID: 25
771+
* Common model for database resource instance metadata. Next ID: 26
755772
*/
756773
export interface Schema$DatabaseResourceMetadata {
757774
/**
@@ -762,6 +779,10 @@ export namespace redis_v1 {
762779
* Backup configuration for this instance
763780
*/
764781
backupConfiguration?: Schema$BackupConfiguration;
782+
/**
783+
* Optional. BackupDR Configuration for the resource.
784+
*/
785+
backupdrConfiguration?: Schema$BackupDRConfiguration;
765786
/**
766787
* Latest backup run information for this instance
767788
*/
@@ -3500,6 +3521,8 @@ export namespace redis_v1 {
35003521
* // "pscServiceAttachments": [],
35013522
* // "redisConfigs": {},
35023523
* // "replicaCount": 0,
3524+
* // "satisfiesPzi": false,
3525+
* // "satisfiesPzs": false,
35033526
* // "shardCount": 0,
35043527
* // "simulateMaintenanceEvent": false,
35053528
* // "sizeGb": 0,
@@ -3822,6 +3845,8 @@ export namespace redis_v1 {
38223845
* // "pscServiceAttachments": [],
38233846
* // "redisConfigs": {},
38243847
* // "replicaCount": 0,
3848+
* // "satisfiesPzi": false,
3849+
* // "satisfiesPzs": false,
38253850
* // "shardCount": 0,
38263851
* // "simulateMaintenanceEvent": false,
38273852
* // "sizeGb": 0,
@@ -4278,6 +4303,8 @@ export namespace redis_v1 {
42784303
* // "pscServiceAttachments": [],
42794304
* // "redisConfigs": {},
42804305
* // "replicaCount": 0,
4306+
* // "satisfiesPzi": false,
4307+
* // "satisfiesPzs": false,
42814308
* // "shardCount": 0,
42824309
* // "simulateMaintenanceEvent": false,
42834310
* // "sizeGb": 0,

0 commit comments

Comments
 (0)