Method: projects.locations.instances.upgrade

Stay organized with collections Save and categorize content based on your preferences.

Upgrades Redis instance to the newer Redis version specified in the request.

HTTP request

POST https://redis.googleapis.com/v1/{name=projects/*/locations/*/instances/*}:upgrade

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. Redis instance resource name using the form: projects/{projectId}/locations/{locationId}/instances/{instanceId} where locationId refers to a GCP region.

Request body

The request body contains data with the following structure:

JSON representation
{
  "redisVersion": string
}
Fields
redisVersion

string

Required. Specifies the target version of Redis software to upgrade to.

Response body

If successful, the response body contains an instance of Operation.

Authorization Scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform

For more information, see the Authentication Overview.