Skip to content

Commit 6048907

Browse files
feat(redis): update the API
#### redis:v1beta1 The following keys were added: - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.description - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.location - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.repeated - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.type The following keys were changed: - resources.projects.resources.locations.resources.backupCollections.methods.get.parameters.name.description - resources.projects.resources.locations.resources.backupCollections.methods.list.parameters.parent.description - resources.projects.resources.locations.resources.clusters.methods.backup.parameters.name.description - resources.projects.resources.locations.resources.clusters.methods.create.parameters.parent.description - resources.projects.resources.locations.resources.clusters.methods.delete.parameters.name.description - resources.projects.resources.locations.resources.clusters.methods.get.parameters.name.description - resources.projects.resources.locations.resources.clusters.methods.getCertificateAuthority.parameters.name.description - resources.projects.resources.locations.resources.clusters.methods.list.parameters.parent.description - resources.projects.resources.locations.resources.clusters.methods.rescheduleClusterMaintenance.parameters.name.description - 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.Product.properties.type.enum - schemas.Product.properties.type.enumDeprecated - schemas.Product.properties.type.enumDescriptions #### redis:v1 The following keys were added: - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.description - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.location - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.repeated - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.type The following keys were changed: - resources.projects.resources.locations.resources.backupCollections.methods.get.parameters.name.description - resources.projects.resources.locations.resources.backupCollections.methods.list.parameters.parent.description - resources.projects.resources.locations.resources.clusters.methods.backup.parameters.name.description - resources.projects.resources.locations.resources.clusters.methods.create.parameters.parent.description - resources.projects.resources.locations.resources.clusters.methods.delete.parameters.name.description - resources.projects.resources.locations.resources.clusters.methods.get.parameters.name.description - resources.projects.resources.locations.resources.clusters.methods.getCertificateAuthority.parameters.name.description - resources.projects.resources.locations.resources.clusters.methods.list.parameters.parent.description - resources.projects.resources.locations.resources.clusters.methods.rescheduleClusterMaintenance.parameters.name.description - 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.Product.properties.type.enum - schemas.Product.properties.type.enumDeprecated - schemas.Product.properties.type.enumDescriptions
1 parent 9c38f3e commit 6048907

File tree

4 files changed

+152
-54
lines changed

4 files changed

+152
-54
lines changed

‎discovery/redis-v1.json

Lines changed: 63 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,12 @@
143143
"name"
144144
],
145145
"parameters": {
146+
"extraLocationTypes": {
147+
"description": "Optional. A list of extra location types that should be used as conditions for controlling the visibility of the locations.",
148+
"location": "query",
149+
"repeated": true,
150+
"type": "string"
151+
},
146152
"filter": {
147153
"description": "A filter to narrow down results to a preferred subset. The filtering language accepts strings like `\"displayName=tokyo\"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).",
148154
"location": "query",
@@ -189,7 +195,7 @@
189195
],
190196
"parameters": {
191197
"name": {
192-
"description": "Required. Redis backupCollection resource name using the form: `projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}` where `location_id` refers to a GCP region.",
198+
"description": "Required. Redis backupCollection resource name using the form: `projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id}` where `location_id` refers to a Google Cloud region.",
193199
"location": "path",
194200
"pattern": "^projects/[^/]+/locations/[^/]+/backupCollections/[^/]+$",
195201
"required": true,
@@ -225,7 +231,7 @@
225231
"type": "string"
226232
},
227233
"parent": {
228-
"description": "Required. The resource name of the backupCollection location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a GCP region.",
234+
"description": "Required. The resource name of the backupCollection location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google Cloud region.",
229235
"location": "path",
230236
"pattern": "^projects/[^/]+/locations/[^/]+$",
231237
"required": true,
@@ -379,7 +385,7 @@
379385
],
380386
"parameters": {
381387
"name": {
382-
"description": "Required. Redis cluster resource name using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id` refers to a GCP region.",
388+
"description": "Required. Redis cluster resource name using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id` refers to a Google Cloud region.",
383389
"location": "path",
384390
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
385391
"required": true,
@@ -412,7 +418,7 @@
412418
"type": "string"
413419
},
414420
"parent": {
415-
"description": "Required. The resource name of the cluster location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a GCP region.",
421+
"description": "Required. The resource name of the cluster location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google Cloud region.",
416422
"location": "path",
417423
"pattern": "^projects/[^/]+/locations/[^/]+$",
418424
"required": true,
@@ -445,7 +451,7 @@
445451
],
446452
"parameters": {
447453
"name": {
448-
"description": "Required. Redis cluster resource name using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id` refers to a GCP region.",
454+
"description": "Required. Redis cluster resource name using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id` refers to a Google Cloud region.",
449455
"location": "path",
450456
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
451457
"required": true,
@@ -475,7 +481,7 @@
475481
],
476482
"parameters": {
477483
"name": {
478-
"description": "Required. Redis cluster resource name using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id` refers to a GCP region.",
484+
"description": "Required. Redis cluster resource name using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id` refers to a Google Cloud region.",
479485
"location": "path",
480486
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
481487
"required": true,
@@ -500,7 +506,7 @@
500506
],
501507
"parameters": {
502508
"name": {
503-
"description": "Required. Redis cluster certificate authority resource name using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}/certificateAuthority` where `location_id` refers to a GCP region.",
509+
"description": "Required. Redis cluster certificate authority resource name using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}/certificateAuthority` where `location_id` refers to a Google Cloud region.",
504510
"location": "path",
505511
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+/certificateAuthority$",
506512
"required": true,
@@ -536,7 +542,7 @@
536542
"type": "string"
537543
},
538544
"parent": {
539-
"description": "Required. The resource name of the cluster location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a GCP region.",
545+
"description": "Required. The resource name of the cluster location using the form: `projects/{project_id}/locations/{location_id}` where `location_id` refers to a Google Cloud region.",
540546
"location": "path",
541547
"pattern": "^projects/[^/]+/locations/[^/]+$",
542548
"required": true,
@@ -600,7 +606,7 @@
600606
],
601607
"parameters": {
602608
"name": {
603-
"description": "Required. Redis Cluster instance resource name using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id` refers to a GCP region.",
609+
"description": "Required. Redis Cluster instance resource name using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}` where `location_id` refers to a Google Cloud region.",
604610
"location": "path",
605611
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
606612
"required": true,
@@ -1067,7 +1073,7 @@
10671073
}
10681074
}
10691075
},
1070-
"revision": "20250311",
1076+
"revision": "20250418",
10711077
"rootUrl": "https://redis.googleapis.com/",
10721078
"schemas": {
10731079
"AOFConfig": {
@@ -2126,7 +2132,13 @@
21262132
"SIGNAL_TYPE_NO_DELETION_PROTECTION",
21272133
"SIGNAL_TYPE_INEFFICIENT_QUERY",
21282134
"SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD",
2129-
"SIGNAL_TYPE_MEMORY_LIMIT"
2135+
"SIGNAL_TYPE_MEMORY_LIMIT",
2136+
"SIGNAL_TYPE_MAX_SERVER_MEMORY",
2137+
"SIGNAL_TYPE_LARGE_ROWS",
2138+
"SIGNAL_TYPE_HIGH_WRITE_PRESSURE",
2139+
"SIGNAL_TYPE_HIGH_READ_PRESSURE",
2140+
"SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED",
2141+
"SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED"
21302142
],
21312143
"enumDeprecated": [
21322144
false,
@@ -2218,6 +2230,12 @@
22182230
false,
22192231
false,
22202232
false,
2233+
false,
2234+
false,
2235+
false,
2236+
false,
2237+
false,
2238+
false,
22212239
false
22222240
],
22232241
"enumDescriptions": [
@@ -2310,7 +2328,13 @@
23102328
"Deletion Protection Disabled for the resource",
23112329
"Indicates that the instance has inefficient queries detected.",
23122330
"Indicates that the instance has read intensive workload.",
2313-
"Indicates that the instance is nearing memory limit."
2331+
"Indicates that the instance is nearing memory limit.",
2332+
"Indicates that the instance's max server memory is configured higher than the recommended value.",
2333+
"Indicates that the database has large rows beyond the recommended limit.",
2334+
"Heavy write pressure on the database rows.",
2335+
"Heavy read pressure on the database rows.",
2336+
"Encryption org policy not satisfied.",
2337+
"Location org policy not satisfied."
23142338
],
23152339
"type": "string"
23162340
},
@@ -2721,7 +2745,13 @@
27212745
"SIGNAL_TYPE_NO_DELETION_PROTECTION",
27222746
"SIGNAL_TYPE_INEFFICIENT_QUERY",
27232747
"SIGNAL_TYPE_READ_INTENSIVE_WORKLOAD",
2724-
"SIGNAL_TYPE_MEMORY_LIMIT"
2748+
"SIGNAL_TYPE_MEMORY_LIMIT",
2749+
"SIGNAL_TYPE_MAX_SERVER_MEMORY",
2750+
"SIGNAL_TYPE_LARGE_ROWS",
2751+
"SIGNAL_TYPE_HIGH_WRITE_PRESSURE",
2752+
"SIGNAL_TYPE_HIGH_READ_PRESSURE",
2753+
"SIGNAL_TYPE_ENCRYPTION_ORG_POLICY_NOT_SATISFIED",
2754+
"SIGNAL_TYPE_LOCATION_ORG_POLICY_NOT_SATISFIED"
27252755
],
27262756
"enumDeprecated": [
27272757
false,
@@ -2813,6 +2843,12 @@
28132843
false,
28142844
false,
28152845
false,
2846+
false,
2847+
false,
2848+
false,
2849+
false,
2850+
false,
2851+
false,
28162852
false
28172853
],
28182854
"enumDescriptions": [
@@ -2905,7 +2941,13 @@
29052941
"Deletion Protection Disabled for the resource",
29062942
"Indicates that the instance has inefficient queries detected.",
29072943
"Indicates that the instance has read intensive workload.",
2908-
"Indicates that the instance is nearing memory limit."
2944+
"Indicates that the instance is nearing memory limit.",
2945+
"Indicates that the instance's max server memory is configured higher than the recommended value.",
2946+
"Indicates that the database has large rows beyond the recommended limit.",
2947+
"Heavy write pressure on the database rows.",
2948+
"Heavy read pressure on the database rows.",
2949+
"Encryption org policy not satisfied.",
2950+
"Location org policy not satisfied."
29092951
],
29102952
"type": "string"
29112953
}
@@ -4163,8 +4205,9 @@
41634205
"ON_PREM",
41644206
"PRODUCT_TYPE_MEMORYSTORE",
41654207
"PRODUCT_TYPE_BIGTABLE",
4166-
"PRODUCT_TYPE_OTHER",
4167-
"PRODUCT_TYPE_FIRESTORE"
4208+
"PRODUCT_TYPE_FIRESTORE",
4209+
"PRODUCT_TYPE_COMPUTE_ENGINE",
4210+
"PRODUCT_TYPE_OTHER"
41684211
],
41694212
"enumDeprecated": [
41704213
false,
@@ -4178,6 +4221,7 @@
41784221
false,
41794222
false,
41804223
false,
4224+
false,
41814225
false
41824226
],
41834227
"enumDescriptions": [
@@ -4191,8 +4235,9 @@
41914235
"On premises database product.",
41924236
"Memorystore product area in GCP",
41934237
"Bigtable product area in GCP",
4194-
"Other refers to rest of other product type. This is to be when product type is known, but it is not present in this enum.",
4195-
"Firestore product area in GCP."
4238+
"Firestore product area in GCP.",
4239+
"Compute Engine self managed databases",
4240+
"Other refers to rest of other product type. This is to be when product type is known, but it is not present in this enum."
41964241
],
41974242
"type": "string"
41984243
},

0 commit comments

Comments
 (0)