Skip to content

Commit aa144d1

Browse files
yoshi-automationfeywind
authored andcommitted
feat(redis): update the API
#### redis:v1beta1 The following keys were added: - schemas.Cluster.properties.maintenanceVersion.description - schemas.Cluster.properties.maintenanceVersion.type - schemas.DatabaseResourceMetadata.properties.maintenanceInfo.$ref - schemas.DatabaseResourceMetadata.properties.maintenanceInfo.description - schemas.Date.description - schemas.Date.id - schemas.Date.properties.day.description - schemas.Date.properties.day.format - schemas.Date.properties.day.type - schemas.Date.properties.month.description - schemas.Date.properties.month.format - schemas.Date.properties.month.type - schemas.Date.properties.year.description - schemas.Date.properties.year.format - schemas.Date.properties.year.type - schemas.Date.type - schemas.ResourceMaintenanceDenySchedule.description - schemas.ResourceMaintenanceDenySchedule.id - schemas.ResourceMaintenanceDenySchedule.properties.endDate.$ref - schemas.ResourceMaintenanceDenySchedule.properties.endDate.description - schemas.ResourceMaintenanceDenySchedule.properties.startDate.$ref - schemas.ResourceMaintenanceDenySchedule.properties.startDate.description - schemas.ResourceMaintenanceDenySchedule.properties.time.$ref - schemas.ResourceMaintenanceDenySchedule.properties.time.description - schemas.ResourceMaintenanceDenySchedule.type - schemas.ResourceMaintenanceInfo.description - schemas.ResourceMaintenanceInfo.id - schemas.ResourceMaintenanceInfo.properties.denyMaintenanceSchedules.description - schemas.ResourceMaintenanceInfo.properties.denyMaintenanceSchedules.items.$ref - schemas.ResourceMaintenanceInfo.properties.denyMaintenanceSchedules.type - schemas.ResourceMaintenanceInfo.properties.maintenanceSchedule.$ref - schemas.ResourceMaintenanceInfo.properties.maintenanceSchedule.description - schemas.ResourceMaintenanceInfo.properties.maintenanceVersion.description - schemas.ResourceMaintenanceInfo.properties.maintenanceVersion.type - schemas.ResourceMaintenanceInfo.type - schemas.ResourceMaintenanceSchedule.description - schemas.ResourceMaintenanceSchedule.id - schemas.ResourceMaintenanceSchedule.properties.day.description - schemas.ResourceMaintenanceSchedule.properties.day.enum - schemas.ResourceMaintenanceSchedule.properties.day.enumDescriptions - schemas.ResourceMaintenanceSchedule.properties.day.type - schemas.ResourceMaintenanceSchedule.properties.phase.description - schemas.ResourceMaintenanceSchedule.properties.phase.enum - schemas.ResourceMaintenanceSchedule.properties.phase.enumDescriptions - schemas.ResourceMaintenanceSchedule.properties.phase.type - schemas.ResourceMaintenanceSchedule.properties.time.$ref - schemas.ResourceMaintenanceSchedule.properties.time.description - schemas.ResourceMaintenanceSchedule.type 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.type.enum - schemas.Product.properties.type.enumDeprecated - schemas.Product.properties.type.enumDescriptions #### redis:v1 The following keys were added: - schemas.Cluster.properties.maintenanceVersion.description - schemas.Cluster.properties.maintenanceVersion.type - schemas.DatabaseResourceMetadata.properties.maintenanceInfo.$ref - schemas.DatabaseResourceMetadata.properties.maintenanceInfo.description - schemas.Date.description - schemas.Date.id - schemas.Date.properties.day.description - schemas.Date.properties.day.format - schemas.Date.properties.day.type - schemas.Date.properties.month.description - schemas.Date.properties.month.format - schemas.Date.properties.month.type - schemas.Date.properties.year.description - schemas.Date.properties.year.format - schemas.Date.properties.year.type - schemas.Date.type - schemas.ResourceMaintenanceDenySchedule.description - schemas.ResourceMaintenanceDenySchedule.id - schemas.ResourceMaintenanceDenySchedule.properties.endDate.$ref - schemas.ResourceMaintenanceDenySchedule.properties.endDate.description - schemas.ResourceMaintenanceDenySchedule.properties.startDate.$ref - schemas.ResourceMaintenanceDenySchedule.properties.startDate.description - schemas.ResourceMaintenanceDenySchedule.properties.time.$ref - schemas.ResourceMaintenanceDenySchedule.properties.time.description - schemas.ResourceMaintenanceDenySchedule.type - schemas.ResourceMaintenanceInfo.description - schemas.ResourceMaintenanceInfo.id - schemas.ResourceMaintenanceInfo.properties.denyMaintenanceSchedules.description - schemas.ResourceMaintenanceInfo.properties.denyMaintenanceSchedules.items.$ref - schemas.ResourceMaintenanceInfo.properties.denyMaintenanceSchedules.type - schemas.ResourceMaintenanceInfo.properties.maintenanceSchedule.$ref - schemas.ResourceMaintenanceInfo.properties.maintenanceSchedule.description - schemas.ResourceMaintenanceInfo.properties.maintenanceVersion.description - schemas.ResourceMaintenanceInfo.properties.maintenanceVersion.type - schemas.ResourceMaintenanceInfo.type - schemas.ResourceMaintenanceSchedule.description - schemas.ResourceMaintenanceSchedule.id - schemas.ResourceMaintenanceSchedule.properties.day.description - schemas.ResourceMaintenanceSchedule.properties.day.enum - schemas.ResourceMaintenanceSchedule.properties.day.enumDescriptions - schemas.ResourceMaintenanceSchedule.properties.day.type - schemas.ResourceMaintenanceSchedule.properties.phase.description - schemas.ResourceMaintenanceSchedule.properties.phase.enum - schemas.ResourceMaintenanceSchedule.properties.phase.enumDescriptions - schemas.ResourceMaintenanceSchedule.properties.phase.type - schemas.ResourceMaintenanceSchedule.properties.time.$ref - schemas.ResourceMaintenanceSchedule.properties.time.description - schemas.ResourceMaintenanceSchedule.type 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.type.enum - schemas.Product.properties.type.enumDeprecated - schemas.Product.properties.type.enumDescriptions
1 parent 8defd20 commit aa144d1

File tree

4 files changed

+438
-14
lines changed

4 files changed

+438
-14
lines changed

discovery/redis-v1.json

Lines changed: 139 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1073,7 +1073,7 @@
10731073
}
10741074
}
10751075
},
1076-
"revision": "20250909",
1076+
"revision": "20250930",
10771077
"rootUrl": "https://redis.googleapis.com/",
10781078
"schemas": {
10791079
"AOFConfig": {
@@ -1608,6 +1608,10 @@
16081608
"description": "Output only. ClusterMaintenanceSchedule Output only Published maintenance schedule.",
16091609
"readOnly": true
16101610
},
1611+
"maintenanceVersion": {
1612+
"description": "Optional. This field can be used to trigger self service update to indicate the desired maintenance version. The input to this field can be determined by the available_maintenance_versions field.",
1613+
"type": "string"
1614+
},
16111615
"managedBackupSource": {
16121616
"$ref": "ManagedBackupSource",
16131617
"description": "Optional. Backups generated and managed by memorystore service."
@@ -2303,7 +2307,8 @@
23032307
"SIGNAL_TYPE_MANY_IDLE_CONNECTIONS",
23042308
"SIGNAL_TYPE_REPLICATION_LAG",
23052309
"SIGNAL_TYPE_OUTDATED_VERSION",
2306-
"SIGNAL_TYPE_OUTDATED_CLIENT"
2310+
"SIGNAL_TYPE_OUTDATED_CLIENT",
2311+
"SIGNAL_TYPE_DATABOOST_DISABLED"
23072312
],
23082313
"enumDeprecated": [
23092314
false,
@@ -2407,6 +2412,7 @@
24072412
false,
24082413
false,
24092414
false,
2415+
false,
24102416
false
24112417
],
24122418
"enumDescriptions": [
@@ -2511,7 +2517,8 @@
25112517
"High number of idle connections.",
25122518
"Replication delay.",
25132519
"Outdated version.",
2514-
"Outdated client."
2520+
"Outdated client.",
2521+
"Databoost is disabled."
25152522
],
25162523
"type": "string"
25172524
},
@@ -2575,7 +2582,7 @@
25752582
"type": "object"
25762583
},
25772584
"DatabaseResourceMetadata": {
2578-
"description": "Common model for database resource instance metadata. Next ID: 27",
2585+
"description": "Common model for database resource instance metadata. Next ID: 29",
25792586
"id": "DatabaseResourceMetadata",
25802587
"properties": {
25812588
"availabilityConfiguration": {
@@ -2726,6 +2733,10 @@
27262733
"$ref": "MachineConfiguration",
27272734
"description": "Machine configuration for this resource."
27282735
},
2736+
"maintenanceInfo": {
2737+
"$ref": "ResourceMaintenanceInfo",
2738+
"description": "Optional. Maintenance info for the resource."
2739+
},
27292740
"primaryResourceId": {
27302741
"$ref": "DatabaseResourceId",
27312742
"description": "Identifier for this resource's immediate parent/primary resource if the current resource is a replica or derived form of another Database resource. Else it would be NULL. REQUIRED if the immediate parent exists when first time resource is getting ingested, otherwise optional."
@@ -2945,7 +2956,8 @@
29452956
"SIGNAL_TYPE_MANY_IDLE_CONNECTIONS",
29462957
"SIGNAL_TYPE_REPLICATION_LAG",
29472958
"SIGNAL_TYPE_OUTDATED_VERSION",
2948-
"SIGNAL_TYPE_OUTDATED_CLIENT"
2959+
"SIGNAL_TYPE_OUTDATED_CLIENT",
2960+
"SIGNAL_TYPE_DATABOOST_DISABLED"
29492961
],
29502962
"enumDeprecated": [
29512963
false,
@@ -3049,6 +3061,7 @@
30493061
false,
30503062
false,
30513063
false,
3064+
false,
30523065
false
30533066
],
30543067
"enumDescriptions": [
@@ -3153,7 +3166,8 @@
31533166
"High number of idle connections.",
31543167
"Replication delay.",
31553168
"Outdated version.",
3156-
"Outdated client."
3169+
"Outdated client.",
3170+
"Databoost is disabled."
31573171
],
31583172
"type": "string"
31593173
}
@@ -3221,6 +3235,28 @@
32213235
},
32223236
"type": "object"
32233237
},
3238+
"Date": {
3239+
"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values. * A month and day, with a zero year (for example, an anniversary). * A year on its own, with a zero month and a zero day. * A year and month, with a zero day (for example, a credit card expiration date). Related types: * google.type.TimeOfDay * google.type.DateTime * google.protobuf.Timestamp",
3240+
"id": "Date",
3241+
"properties": {
3242+
"day": {
3243+
"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.",
3244+
"format": "int32",
3245+
"type": "integer"
3246+
},
3247+
"month": {
3248+
"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.",
3249+
"format": "int32",
3250+
"type": "integer"
3251+
},
3252+
"year": {
3253+
"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.",
3254+
"format": "int32",
3255+
"type": "integer"
3256+
}
3257+
},
3258+
"type": "object"
3259+
},
32243260
"DiscoveryEndpoint": {
32253261
"description": "Endpoints on each network, for Redis clients to connect to the cluster.",
32263262
"id": "DiscoveryEndpoint",
@@ -4495,6 +4531,7 @@
44954531
"PRODUCT_TYPE_FIRESTORE",
44964532
"PRODUCT_TYPE_COMPUTE_ENGINE",
44974533
"PRODUCT_TYPE_ORACLE_ON_GCP",
4534+
"PRODUCT_TYPE_BIGQUERY",
44984535
"PRODUCT_TYPE_OTHER"
44994536
],
45004537
"enumDeprecated": [
@@ -4511,6 +4548,7 @@
45114548
false,
45124549
false,
45134550
false,
4551+
false,
45144552
false
45154553
],
45164554
"enumDescriptions": [
@@ -4527,6 +4565,7 @@
45274565
"Firestore product area in GCP.",
45284566
"Compute Engine self managed databases",
45294567
"Oracle product area in GCP",
4568+
"BigQuery product area in GCP",
45304569
"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."
45314570
],
45324571
"type": "string"
@@ -4845,6 +4884,100 @@
48454884
},
48464885
"type": "object"
48474886
},
4887+
"ResourceMaintenanceDenySchedule": {
4888+
"description": "Deny maintenance period for the database resource. It specifies the time range during which the maintenance cannot start. This is configured by the customer.",
4889+
"id": "ResourceMaintenanceDenySchedule",
4890+
"properties": {
4891+
"endDate": {
4892+
"$ref": "Date",
4893+
"description": "Optional. Deny period end date."
4894+
},
4895+
"startDate": {
4896+
"$ref": "Date",
4897+
"description": "Optional. The start date of the deny maintenance period."
4898+
},
4899+
"time": {
4900+
"$ref": "TimeOfDay",
4901+
"description": "Optional. Time in UTC when the deny period starts on start_date and ends on end_date."
4902+
}
4903+
},
4904+
"type": "object"
4905+
},
4906+
"ResourceMaintenanceInfo": {
4907+
"description": "MaintenanceInfo to capture the maintenance details of database resource.",
4908+
"id": "ResourceMaintenanceInfo",
4909+
"properties": {
4910+
"denyMaintenanceSchedules": {
4911+
"description": "Optional. List of Deny maintenance period for the database resource.",
4912+
"items": {
4913+
"$ref": "ResourceMaintenanceDenySchedule"
4914+
},
4915+
"type": "array"
4916+
},
4917+
"maintenanceSchedule": {
4918+
"$ref": "ResourceMaintenanceSchedule",
4919+
"description": "Optional. Maintenance window for the database resource."
4920+
},
4921+
"maintenanceVersion": {
4922+
"description": "Optional. Current Maintenance version of the database resource. Example: \"MYSQL_8_0_41.R20250531.01_15\"",
4923+
"type": "string"
4924+
}
4925+
},
4926+
"type": "object"
4927+
},
4928+
"ResourceMaintenanceSchedule": {
4929+
"description": "Maintenance window for the database resource. It specifies preferred time and day of the week and phase in some cases, when the maintenance can start. This is configured by the customer.",
4930+
"id": "ResourceMaintenanceSchedule",
4931+
"properties": {
4932+
"day": {
4933+
"description": "Optional. Preferred day of the week for maintenance, e.g. MONDAY, TUESDAY, etc.",
4934+
"enum": [
4935+
"DAY_OF_WEEK_UNSPECIFIED",
4936+
"MONDAY",
4937+
"TUESDAY",
4938+
"WEDNESDAY",
4939+
"THURSDAY",
4940+
"FRIDAY",
4941+
"SATURDAY",
4942+
"SUNDAY"
4943+
],
4944+
"enumDescriptions": [
4945+
"The day of the week is unspecified.",
4946+
"Monday",
4947+
"Tuesday",
4948+
"Wednesday",
4949+
"Thursday",
4950+
"Friday",
4951+
"Saturday",
4952+
"Sunday"
4953+
],
4954+
"type": "string"
4955+
},
4956+
"phase": {
4957+
"description": "Optional. Phase of the maintenance window. This is to capture order of maintenance. For example, for Cloud SQL resources, this can be used to capture if the maintenance window is in Week1, Week2, Week5, etc. Non production resources are usually part of early phase. For more details, refer to Cloud SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance",
4958+
"enum": [
4959+
"WINDOW_PHASE_UNSPECIFIED",
4960+
"WINDOW_PHASE_ANY",
4961+
"WINDOW_PHASE_WEEK1",
4962+
"WINDOW_PHASE_WEEK2",
4963+
"WINDOW_PHASE_WEEK5"
4964+
],
4965+
"enumDescriptions": [
4966+
"Phase is unspecified.",
4967+
"Any phase.",
4968+
"Week 1.",
4969+
"Week 2.",
4970+
"Week 5."
4971+
],
4972+
"type": "string"
4973+
},
4974+
"time": {
4975+
"$ref": "TimeOfDay",
4976+
"description": "Optional. Preferred time to start the maintenance operation on the specified day."
4977+
}
4978+
},
4979+
"type": "object"
4980+
},
48484981
"RetentionSettings": {
48494982
"id": "RetentionSettings",
48504983
"properties": {

0 commit comments

Comments
 (0)