|
371 | 371 | "scopes": [
|
372 | 372 | "https://www.googleapis.com/auth/cloud-platform"
|
373 | 373 | ]
|
| 374 | + }, |
| 375 | + "rescheduleClusterMaintenance": { |
| 376 | + "description": "Reschedules upcoming maintenance event.", |
| 377 | + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:rescheduleClusterMaintenance", |
| 378 | + "httpMethod": "POST", |
| 379 | + "id": "redis.projects.locations.clusters.rescheduleClusterMaintenance", |
| 380 | + "parameterOrder": [ |
| 381 | + "name" |
| 382 | + ], |
| 383 | + "parameters": { |
| 384 | + "name": { |
| 385 | + "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.", |
| 386 | + "location": "path", |
| 387 | + "pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", |
| 388 | + "required": true, |
| 389 | + "type": "string" |
| 390 | + } |
| 391 | + }, |
| 392 | + "path": "v1/{+name}:rescheduleClusterMaintenance", |
| 393 | + "request": { |
| 394 | + "$ref": "RescheduleClusterMaintenanceRequest" |
| 395 | + }, |
| 396 | + "response": { |
| 397 | + "$ref": "Operation" |
| 398 | + }, |
| 399 | + "scopes": [ |
| 400 | + "https://www.googleapis.com/auth/cloud-platform" |
| 401 | + ] |
374 | 402 | }
|
375 | 403 | }
|
376 | 404 | },
|
|
821 | 849 | }
|
822 | 850 | }
|
823 | 851 | },
|
824 |
| - "revision": "20240812", |
| 852 | + "revision": "20240822", |
825 | 853 | "rootUrl": "https://redis.googleapis.com/",
|
826 | 854 | "schemas": {
|
827 | 855 | "AOFConfig": {
|
|
840 | 868 | "Not set. Default: EVERYSEC",
|
841 | 869 | "Never fsync. Normally Linux will flush data every 30 seconds with this configuration, but it's up to the kernel's exact tuning.",
|
842 | 870 | "fsync every second. Fast enough, and you may lose 1 second of data if there is a disaster",
|
843 |
| - "fsync every time new commands are appended to the AOF. It has the best data loss protection at the cost of performance" |
| 871 | + "fsync every time new write commands are appended to the AOF. It has the best data loss protection at the cost of performance" |
844 | 872 | ],
|
845 | 873 | "type": "string"
|
846 | 874 | }
|
|
851 | 879 | "description": "Configuration for availability of database instance",
|
852 | 880 | "id": "AvailabilityConfiguration",
|
853 | 881 | "properties": {
|
| 882 | + "automaticFailoverRoutingConfigured": { |
| 883 | + "description": "Checks for existence of (multi-cluster) routing configuration that allows automatic failover to a different zone/region in case of an outage. Applicable to Bigtable resources.", |
| 884 | + "type": "boolean" |
| 885 | + }, |
854 | 886 | "availabilityType": {
|
855 | 887 | "description": "Availability type. Potential values: * `ZONAL`: The instance serves data from only one zone. Outages in that zone affect data accessibility. * `REGIONAL`: The instance can serve data from more than one zone in a region (it is highly available).",
|
856 | 888 | "enum": [
|
|
1003 | 1035 | "readOnly": true,
|
1004 | 1036 | "type": "array"
|
1005 | 1037 | },
|
| 1038 | + "maintenancePolicy": { |
| 1039 | + "$ref": "ClusterMaintenancePolicy", |
| 1040 | + "description": "Optional. ClusterMaintenancePolicy determines when to allow or deny updates." |
| 1041 | + }, |
| 1042 | + "maintenanceSchedule": { |
| 1043 | + "$ref": "ClusterMaintenanceSchedule", |
| 1044 | + "description": "Output only. ClusterMaintenanceSchedule Output only Published maintenance schedule.", |
| 1045 | + "readOnly": true |
| 1046 | + }, |
1006 | 1047 | "name": {
|
1007 | 1048 | "description": "Required. Identifier. Unique name of the resource in this scope including project and location using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`",
|
1008 | 1049 | "type": "string"
|
|
1123 | 1164 | },
|
1124 | 1165 | "type": "object"
|
1125 | 1166 | },
|
| 1167 | + "ClusterMaintenancePolicy": { |
| 1168 | + "description": "Maintenance policy per cluster.", |
| 1169 | + "id": "ClusterMaintenancePolicy", |
| 1170 | + "properties": { |
| 1171 | + "createTime": { |
| 1172 | + "description": "Output only. The time when the policy was created i.e. Maintenance Window or Deny Period was assigned.", |
| 1173 | + "format": "google-datetime", |
| 1174 | + "readOnly": true, |
| 1175 | + "type": "string" |
| 1176 | + }, |
| 1177 | + "updateTime": { |
| 1178 | + "description": "Output only. The time when the policy was updated i.e. Maintenance Window or Deny Period was updated.", |
| 1179 | + "format": "google-datetime", |
| 1180 | + "readOnly": true, |
| 1181 | + "type": "string" |
| 1182 | + }, |
| 1183 | + "weeklyMaintenanceWindow": { |
| 1184 | + "description": "Optional. Maintenance window that is applied to resources covered by this policy. Minimum 1. For the current version, the maximum number of weekly_maintenance_window is expected to be one.", |
| 1185 | + "items": { |
| 1186 | + "$ref": "ClusterWeeklyMaintenanceWindow" |
| 1187 | + }, |
| 1188 | + "type": "array" |
| 1189 | + } |
| 1190 | + }, |
| 1191 | + "type": "object" |
| 1192 | + }, |
| 1193 | + "ClusterMaintenanceSchedule": { |
| 1194 | + "description": "Upcoming maitenance schedule.", |
| 1195 | + "id": "ClusterMaintenanceSchedule", |
| 1196 | + "properties": { |
| 1197 | + "endTime": { |
| 1198 | + "description": "Output only. The end time of any upcoming scheduled maintenance for this instance.", |
| 1199 | + "format": "google-datetime", |
| 1200 | + "readOnly": true, |
| 1201 | + "type": "string" |
| 1202 | + }, |
| 1203 | + "scheduleDeadlineTime": { |
| 1204 | + "description": "Output only. The deadline that the maintenance schedule start time can not go beyond, including reschedule.", |
| 1205 | + "format": "google-datetime", |
| 1206 | + "readOnly": true, |
| 1207 | + "type": "string" |
| 1208 | + }, |
| 1209 | + "startTime": { |
| 1210 | + "description": "Output only. The start time of any upcoming scheduled maintenance for this instance.", |
| 1211 | + "format": "google-datetime", |
| 1212 | + "readOnly": true, |
| 1213 | + "type": "string" |
| 1214 | + } |
| 1215 | + }, |
| 1216 | + "type": "object" |
| 1217 | + }, |
1126 | 1218 | "ClusterPersistenceConfig": {
|
1127 | 1219 | "description": "Configuration of the persistence functionality.",
|
1128 | 1220 | "id": "ClusterPersistenceConfig",
|
|
1154 | 1246 | },
|
1155 | 1247 | "type": "object"
|
1156 | 1248 | },
|
| 1249 | + "ClusterWeeklyMaintenanceWindow": { |
| 1250 | + "description": "Time window specified for weekly operations.", |
| 1251 | + "id": "ClusterWeeklyMaintenanceWindow", |
| 1252 | + "properties": { |
| 1253 | + "day": { |
| 1254 | + "description": "Allows to define schedule that runs specified day of the week.", |
| 1255 | + "enum": [ |
| 1256 | + "DAY_OF_WEEK_UNSPECIFIED", |
| 1257 | + "MONDAY", |
| 1258 | + "TUESDAY", |
| 1259 | + "WEDNESDAY", |
| 1260 | + "THURSDAY", |
| 1261 | + "FRIDAY", |
| 1262 | + "SATURDAY", |
| 1263 | + "SUNDAY" |
| 1264 | + ], |
| 1265 | + "enumDescriptions": [ |
| 1266 | + "The day of the week is unspecified.", |
| 1267 | + "Monday", |
| 1268 | + "Tuesday", |
| 1269 | + "Wednesday", |
| 1270 | + "Thursday", |
| 1271 | + "Friday", |
| 1272 | + "Saturday", |
| 1273 | + "Sunday" |
| 1274 | + ], |
| 1275 | + "type": "string" |
| 1276 | + }, |
| 1277 | + "duration": { |
| 1278 | + "description": "Duration of the time window.", |
| 1279 | + "format": "google-duration", |
| 1280 | + "type": "string" |
| 1281 | + }, |
| 1282 | + "startTime": { |
| 1283 | + "$ref": "TimeOfDay", |
| 1284 | + "description": "Start time of the window in UTC." |
| 1285 | + } |
| 1286 | + }, |
| 1287 | + "type": "object" |
| 1288 | + }, |
1157 | 1289 | "Compliance": {
|
1158 | 1290 | "description": "Contains compliance information about a security standard indicating unmet recommendations.",
|
1159 | 1291 | "id": "Compliance",
|
|
3351 | 3483 | },
|
3352 | 3484 | "type": "object"
|
3353 | 3485 | },
|
| 3486 | + "RescheduleClusterMaintenanceRequest": { |
| 3487 | + "description": "Request for rescheduling a cluster maintenance.", |
| 3488 | + "id": "RescheduleClusterMaintenanceRequest", |
| 3489 | + "properties": { |
| 3490 | + "rescheduleType": { |
| 3491 | + "description": "Required. If reschedule type is SPECIFIC_TIME, must set up schedule_time as well.", |
| 3492 | + "enum": [ |
| 3493 | + "RESCHEDULE_TYPE_UNSPECIFIED", |
| 3494 | + "IMMEDIATE", |
| 3495 | + "SPECIFIC_TIME" |
| 3496 | + ], |
| 3497 | + "enumDescriptions": [ |
| 3498 | + "Not set.", |
| 3499 | + "If the user wants to schedule the maintenance to happen now.", |
| 3500 | + "If the user wants to reschedule the maintenance to a specific time." |
| 3501 | + ], |
| 3502 | + "type": "string" |
| 3503 | + }, |
| 3504 | + "scheduleTime": { |
| 3505 | + "description": "Optional. Timestamp when the maintenance shall be rescheduled to if reschedule_type=SPECIFIC_TIME, in RFC 3339 format, for example `2012-11-15T16:19:00.094Z`.", |
| 3506 | + "format": "google-datetime", |
| 3507 | + "type": "string" |
| 3508 | + } |
| 3509 | + }, |
| 3510 | + "type": "object" |
| 3511 | + }, |
3354 | 3512 | "RescheduleMaintenanceRequest": {
|
3355 | 3513 | "description": "Request for RescheduleMaintenance.",
|
3356 | 3514 | "id": "RescheduleMaintenanceRequest",
|
|
0 commit comments