Skip to content

Commit

Permalink
feat(redis): update the API
Browse files Browse the repository at this point in the history
#### redis:v1beta1

The following keys were added:
- resources.projects.resources.locations.resources.clusters.methods.rescheduleClusterMaintenance.description
- resources.projects.resources.locations.resources.clusters.methods.rescheduleClusterMaintenance.flatPath
- resources.projects.resources.locations.resources.clusters.methods.rescheduleClusterMaintenance.httpMethod
- resources.projects.resources.locations.resources.clusters.methods.rescheduleClusterMaintenance.id
- resources.projects.resources.locations.resources.clusters.methods.rescheduleClusterMaintenance.parameterOrder
- resources.projects.resources.locations.resources.clusters.methods.rescheduleClusterMaintenance.parameters.name.description
- resources.projects.resources.locations.resources.clusters.methods.rescheduleClusterMaintenance.parameters.name.location
- resources.projects.resources.locations.resources.clusters.methods.rescheduleClusterMaintenance.parameters.name.pattern
- resources.projects.resources.locations.resources.clusters.methods.rescheduleClusterMaintenance.parameters.name.required
- resources.projects.resources.locations.resources.clusters.methods.rescheduleClusterMaintenance.parameters.name.type
- resources.projects.resources.locations.resources.clusters.methods.rescheduleClusterMaintenance.path
- resources.projects.resources.locations.resources.clusters.methods.rescheduleClusterMaintenance.request.$ref
- resources.projects.resources.locations.resources.clusters.methods.rescheduleClusterMaintenance.response.$ref
- resources.projects.resources.locations.resources.clusters.methods.rescheduleClusterMaintenance.scopes
- schemas.AvailabilityConfiguration.properties.automaticFailoverRoutingConfigured.description
- schemas.AvailabilityConfiguration.properties.automaticFailoverRoutingConfigured.type
- schemas.Cluster.properties.maintenancePolicy.$ref
- schemas.Cluster.properties.maintenancePolicy.description
- schemas.Cluster.properties.maintenanceSchedule.$ref
- schemas.Cluster.properties.maintenanceSchedule.description
- schemas.Cluster.properties.maintenanceSchedule.readOnly
- schemas.ClusterMaintenancePolicy.description
- schemas.ClusterMaintenancePolicy.id
- schemas.ClusterMaintenancePolicy.properties.createTime.description
- schemas.ClusterMaintenancePolicy.properties.createTime.format
- schemas.ClusterMaintenancePolicy.properties.createTime.readOnly
- schemas.ClusterMaintenancePolicy.properties.createTime.type
- schemas.ClusterMaintenancePolicy.properties.updateTime.description
- schemas.ClusterMaintenancePolicy.properties.updateTime.format
- schemas.ClusterMaintenancePolicy.properties.updateTime.readOnly
- schemas.ClusterMaintenancePolicy.properties.updateTime.type
- schemas.ClusterMaintenancePolicy.properties.weeklyMaintenanceWindow.description
- schemas.ClusterMaintenancePolicy.properties.weeklyMaintenanceWindow.items.$ref
- schemas.ClusterMaintenancePolicy.properties.weeklyMaintenanceWindow.type
- schemas.ClusterMaintenancePolicy.type
- schemas.ClusterMaintenanceSchedule.description
- schemas.ClusterMaintenanceSchedule.id
- schemas.ClusterMaintenanceSchedule.properties.endTime.description
- schemas.ClusterMaintenanceSchedule.properties.endTime.format
- schemas.ClusterMaintenanceSchedule.properties.endTime.readOnly
- schemas.ClusterMaintenanceSchedule.properties.endTime.type
- schemas.ClusterMaintenanceSchedule.properties.scheduleDeadlineTime.description
- schemas.ClusterMaintenanceSchedule.properties.scheduleDeadlineTime.format
- schemas.ClusterMaintenanceSchedule.properties.scheduleDeadlineTime.readOnly
- schemas.ClusterMaintenanceSchedule.properties.scheduleDeadlineTime.type
- schemas.ClusterMaintenanceSchedule.properties.startTime.description
- schemas.ClusterMaintenanceSchedule.properties.startTime.format
- schemas.ClusterMaintenanceSchedule.properties.startTime.readOnly
- schemas.ClusterMaintenanceSchedule.properties.startTime.type
- schemas.ClusterMaintenanceSchedule.type
- schemas.ClusterWeeklyMaintenanceWindow.description
- schemas.ClusterWeeklyMaintenanceWindow.id
- schemas.ClusterWeeklyMaintenanceWindow.properties.day.description
- schemas.ClusterWeeklyMaintenanceWindow.properties.day.enum
- schemas.ClusterWeeklyMaintenanceWindow.properties.day.enumDescriptions
- schemas.ClusterWeeklyMaintenanceWindow.properties.day.type
- schemas.ClusterWeeklyMaintenanceWindow.properties.duration.description
- schemas.ClusterWeeklyMaintenanceWindow.properties.duration.format
- schemas.ClusterWeeklyMaintenanceWindow.properties.duration.type
- schemas.ClusterWeeklyMaintenanceWindow.properties.startTime.$ref
- schemas.ClusterWeeklyMaintenanceWindow.properties.startTime.description
- schemas.ClusterWeeklyMaintenanceWindow.type
- schemas.RescheduleClusterMaintenanceRequest.description
- schemas.RescheduleClusterMaintenanceRequest.id
- schemas.RescheduleClusterMaintenanceRequest.properties.rescheduleType.description
- schemas.RescheduleClusterMaintenanceRequest.properties.rescheduleType.enum
- schemas.RescheduleClusterMaintenanceRequest.properties.rescheduleType.enumDescriptions
- schemas.RescheduleClusterMaintenanceRequest.properties.rescheduleType.type
- schemas.RescheduleClusterMaintenanceRequest.properties.scheduleTime.description
- schemas.RescheduleClusterMaintenanceRequest.properties.scheduleTime.format
- schemas.RescheduleClusterMaintenanceRequest.properties.scheduleTime.type
- schemas.RescheduleClusterMaintenanceRequest.type

The following keys were changed:
- schemas.AOFConfig.properties.appendFsync.enumDescriptions

#### redis:v1

The following keys were added:
- resources.projects.resources.locations.resources.clusters.methods.rescheduleClusterMaintenance.description
- resources.projects.resources.locations.resources.clusters.methods.rescheduleClusterMaintenance.flatPath
- resources.projects.resources.locations.resources.clusters.methods.rescheduleClusterMaintenance.httpMethod
- resources.projects.resources.locations.resources.clusters.methods.rescheduleClusterMaintenance.id
- resources.projects.resources.locations.resources.clusters.methods.rescheduleClusterMaintenance.parameterOrder
- resources.projects.resources.locations.resources.clusters.methods.rescheduleClusterMaintenance.parameters.name.description
- resources.projects.resources.locations.resources.clusters.methods.rescheduleClusterMaintenance.parameters.name.location
- resources.projects.resources.locations.resources.clusters.methods.rescheduleClusterMaintenance.parameters.name.pattern
- resources.projects.resources.locations.resources.clusters.methods.rescheduleClusterMaintenance.parameters.name.required
- resources.projects.resources.locations.resources.clusters.methods.rescheduleClusterMaintenance.parameters.name.type
- resources.projects.resources.locations.resources.clusters.methods.rescheduleClusterMaintenance.path
- resources.projects.resources.locations.resources.clusters.methods.rescheduleClusterMaintenance.request.$ref
- resources.projects.resources.locations.resources.clusters.methods.rescheduleClusterMaintenance.response.$ref
- resources.projects.resources.locations.resources.clusters.methods.rescheduleClusterMaintenance.scopes
- schemas.AvailabilityConfiguration.properties.automaticFailoverRoutingConfigured.description
- schemas.AvailabilityConfiguration.properties.automaticFailoverRoutingConfigured.type
- schemas.Cluster.properties.maintenancePolicy.$ref
- schemas.Cluster.properties.maintenancePolicy.description
- schemas.Cluster.properties.maintenanceSchedule.$ref
- schemas.Cluster.properties.maintenanceSchedule.description
- schemas.Cluster.properties.maintenanceSchedule.readOnly
- schemas.ClusterMaintenancePolicy.description
- schemas.ClusterMaintenancePolicy.id
- schemas.ClusterMaintenancePolicy.properties.createTime.description
- schemas.ClusterMaintenancePolicy.properties.createTime.format
- schemas.ClusterMaintenancePolicy.properties.createTime.readOnly
- schemas.ClusterMaintenancePolicy.properties.createTime.type
- schemas.ClusterMaintenancePolicy.properties.updateTime.description
- schemas.ClusterMaintenancePolicy.properties.updateTime.format
- schemas.ClusterMaintenancePolicy.properties.updateTime.readOnly
- schemas.ClusterMaintenancePolicy.properties.updateTime.type
- schemas.ClusterMaintenancePolicy.properties.weeklyMaintenanceWindow.description
- schemas.ClusterMaintenancePolicy.properties.weeklyMaintenanceWindow.items.$ref
- schemas.ClusterMaintenancePolicy.properties.weeklyMaintenanceWindow.type
- schemas.ClusterMaintenancePolicy.type
- schemas.ClusterMaintenanceSchedule.description
- schemas.ClusterMaintenanceSchedule.id
- schemas.ClusterMaintenanceSchedule.properties.endTime.description
- schemas.ClusterMaintenanceSchedule.properties.endTime.format
- schemas.ClusterMaintenanceSchedule.properties.endTime.readOnly
- schemas.ClusterMaintenanceSchedule.properties.endTime.type
- schemas.ClusterMaintenanceSchedule.properties.scheduleDeadlineTime.description
- schemas.ClusterMaintenanceSchedule.properties.scheduleDeadlineTime.format
- schemas.ClusterMaintenanceSchedule.properties.scheduleDeadlineTime.readOnly
- schemas.ClusterMaintenanceSchedule.properties.scheduleDeadlineTime.type
- schemas.ClusterMaintenanceSchedule.properties.startTime.description
- schemas.ClusterMaintenanceSchedule.properties.startTime.format
- schemas.ClusterMaintenanceSchedule.properties.startTime.readOnly
- schemas.ClusterMaintenanceSchedule.properties.startTime.type
- schemas.ClusterMaintenanceSchedule.type
- schemas.ClusterWeeklyMaintenanceWindow.description
- schemas.ClusterWeeklyMaintenanceWindow.id
- schemas.ClusterWeeklyMaintenanceWindow.properties.day.description
- schemas.ClusterWeeklyMaintenanceWindow.properties.day.enum
- schemas.ClusterWeeklyMaintenanceWindow.properties.day.enumDescriptions
- schemas.ClusterWeeklyMaintenanceWindow.properties.day.type
- schemas.ClusterWeeklyMaintenanceWindow.properties.duration.description
- schemas.ClusterWeeklyMaintenanceWindow.properties.duration.format
- schemas.ClusterWeeklyMaintenanceWindow.properties.duration.type
- schemas.ClusterWeeklyMaintenanceWindow.properties.startTime.$ref
- schemas.ClusterWeeklyMaintenanceWindow.properties.startTime.description
- schemas.ClusterWeeklyMaintenanceWindow.type
- schemas.RescheduleClusterMaintenanceRequest.description
- schemas.RescheduleClusterMaintenanceRequest.id
- schemas.RescheduleClusterMaintenanceRequest.properties.rescheduleType.description
- schemas.RescheduleClusterMaintenanceRequest.properties.rescheduleType.enum
- schemas.RescheduleClusterMaintenanceRequest.properties.rescheduleType.enumDescriptions
- schemas.RescheduleClusterMaintenanceRequest.properties.rescheduleType.type
- schemas.RescheduleClusterMaintenanceRequest.properties.scheduleTime.description
- schemas.RescheduleClusterMaintenanceRequest.properties.scheduleTime.format
- schemas.RescheduleClusterMaintenanceRequest.properties.scheduleTime.type
- schemas.RescheduleClusterMaintenanceRequest.type

The following keys were changed:
- schemas.AOFConfig.properties.appendFsync.enumDescriptions
  • Loading branch information
yoshi-automation authored and sofisl committed Aug 27, 2024
1 parent f26a373 commit 98cd830
Show file tree
Hide file tree
Showing 4 changed files with 677 additions and 4 deletions.
162 changes: 160 additions & 2 deletions discovery/redis-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,34 @@
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"rescheduleClusterMaintenance": {
"description": "Reschedules upcoming maintenance event.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:rescheduleClusterMaintenance",
"httpMethod": "POST",
"id": "redis.projects.locations.clusters.rescheduleClusterMaintenance",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"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.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}:rescheduleClusterMaintenance",
"request": {
"$ref": "RescheduleClusterMaintenanceRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
}
}
},
Expand Down Expand Up @@ -821,7 +849,7 @@
}
}
},
"revision": "20240812",
"revision": "20240822",
"rootUrl": "https://redis.googleapis.com/",
"schemas": {
"AOFConfig": {
Expand All @@ -840,7 +868,7 @@
"Not set. Default: EVERYSEC",
"Never fsync. Normally Linux will flush data every 30 seconds with this configuration, but it's up to the kernel's exact tuning.",
"fsync every second. Fast enough, and you may lose 1 second of data if there is a disaster",
"fsync every time new commands are appended to the AOF. It has the best data loss protection at the cost of performance"
"fsync every time new write commands are appended to the AOF. It has the best data loss protection at the cost of performance"
],
"type": "string"
}
Expand All @@ -851,6 +879,10 @@
"description": "Configuration for availability of database instance",
"id": "AvailabilityConfiguration",
"properties": {
"automaticFailoverRoutingConfigured": {
"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.",
"type": "boolean"
},
"availabilityType": {
"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).",
"enum": [
Expand Down Expand Up @@ -1003,6 +1035,15 @@
"readOnly": true,
"type": "array"
},
"maintenancePolicy": {
"$ref": "ClusterMaintenancePolicy",
"description": "Optional. ClusterMaintenancePolicy determines when to allow or deny updates."
},
"maintenanceSchedule": {
"$ref": "ClusterMaintenanceSchedule",
"description": "Output only. ClusterMaintenanceSchedule Output only Published maintenance schedule.",
"readOnly": true
},
"name": {
"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}`",
"type": "string"
Expand Down Expand Up @@ -1123,6 +1164,57 @@
},
"type": "object"
},
"ClusterMaintenancePolicy": {
"description": "Maintenance policy per cluster.",
"id": "ClusterMaintenancePolicy",
"properties": {
"createTime": {
"description": "Output only. The time when the policy was created i.e. Maintenance Window or Deny Period was assigned.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"updateTime": {
"description": "Output only. The time when the policy was updated i.e. Maintenance Window or Deny Period was updated.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"weeklyMaintenanceWindow": {
"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.",
"items": {
"$ref": "ClusterWeeklyMaintenanceWindow"
},
"type": "array"
}
},
"type": "object"
},
"ClusterMaintenanceSchedule": {
"description": "Upcoming maitenance schedule.",
"id": "ClusterMaintenanceSchedule",
"properties": {
"endTime": {
"description": "Output only. The end time of any upcoming scheduled maintenance for this instance.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"scheduleDeadlineTime": {
"description": "Output only. The deadline that the maintenance schedule start time can not go beyond, including reschedule.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
},
"startTime": {
"description": "Output only. The start time of any upcoming scheduled maintenance for this instance.",
"format": "google-datetime",
"readOnly": true,
"type": "string"
}
},
"type": "object"
},
"ClusterPersistenceConfig": {
"description": "Configuration of the persistence functionality.",
"id": "ClusterPersistenceConfig",
Expand Down Expand Up @@ -1154,6 +1246,46 @@
},
"type": "object"
},
"ClusterWeeklyMaintenanceWindow": {
"description": "Time window specified for weekly operations.",
"id": "ClusterWeeklyMaintenanceWindow",
"properties": {
"day": {
"description": "Allows to define schedule that runs specified day of the week.",
"enum": [
"DAY_OF_WEEK_UNSPECIFIED",
"MONDAY",
"TUESDAY",
"WEDNESDAY",
"THURSDAY",
"FRIDAY",
"SATURDAY",
"SUNDAY"
],
"enumDescriptions": [
"The day of the week is unspecified.",
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday",
"Sunday"
],
"type": "string"
},
"duration": {
"description": "Duration of the time window.",
"format": "google-duration",
"type": "string"
},
"startTime": {
"$ref": "TimeOfDay",
"description": "Start time of the window in UTC."
}
},
"type": "object"
},
"Compliance": {
"description": "Contains compliance information about a security standard indicating unmet recommendations.",
"id": "Compliance",
Expand Down Expand Up @@ -3351,6 +3483,32 @@
},
"type": "object"
},
"RescheduleClusterMaintenanceRequest": {
"description": "Request for rescheduling a cluster maintenance.",
"id": "RescheduleClusterMaintenanceRequest",
"properties": {
"rescheduleType": {
"description": "Required. If reschedule type is SPECIFIC_TIME, must set up schedule_time as well.",
"enum": [
"RESCHEDULE_TYPE_UNSPECIFIED",
"IMMEDIATE",
"SPECIFIC_TIME"
],
"enumDescriptions": [
"Not set.",
"If the user wants to schedule the maintenance to happen now.",
"If the user wants to reschedule the maintenance to a specific time."
],
"type": "string"
},
"scheduleTime": {
"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`.",
"format": "google-datetime",
"type": "string"
}
},
"type": "object"
},
"RescheduleMaintenanceRequest": {
"description": "Request for RescheduleMaintenance.",
"id": "RescheduleMaintenanceRequest",
Expand Down
Loading

0 comments on commit 98cd830

Please sign in to comment.