public sealed class UpgradeInstanceRequest : IMessage<UpgradeInstanceRequest>, IEquatable<UpgradeInstanceRequest>, IDeepCloneable<UpgradeInstanceRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Memorystore for Redis v1 API class UpgradeInstanceRequest.
Request for
[UpgradeInstance][google.cloud.redis.v1.CloudRedis.UpgradeInstance].
Required. Redis instance resource name using the form:
projects/{project_id}/locations/{location_id}/instances/{instance_id}
where location_id refers to a GCP region.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eUpgradeInstanceRequest\u003c/code\u003e class is part of the Google Cloud Memorystore for Redis v1 API and is used to request an upgrade of a Redis instance.\u003c/p\u003e\n"],["\u003cp\u003eThis class supports multiple versions, with the latest being 3.5.0, and it allows navigating through older versions back to 2.2.0 for documentation.\u003c/p\u003e\n"],["\u003cp\u003eIt implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the base \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe class has properties like \u003ccode\u003eInstanceName\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, and \u003ccode\u003eRedisVersion\u003c/code\u003e, where \u003ccode\u003eName\u003c/code\u003e is a required field specifying the Redis instance resource name and \u003ccode\u003eRedisVersion\u003c/code\u003e specifies the target version.\u003c/p\u003e\n"],["\u003cp\u003eIt has two constructors, one parameterless, and one taking another \u003ccode\u003eUpgradeInstanceRequest\u003c/code\u003e object as a parameter to clone from.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Memorystore for Redis v1 API - Class UpgradeInstanceRequest (3.5.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.5.0 (latest)](/dotnet/docs/reference/Google.Cloud.Redis.V1/latest/Google.Cloud.Redis.V1.UpgradeInstanceRequest)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/3.4.0/Google.Cloud.Redis.V1.UpgradeInstanceRequest)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/3.3.0/Google.Cloud.Redis.V1.UpgradeInstanceRequest)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/3.2.0/Google.Cloud.Redis.V1.UpgradeInstanceRequest)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/3.1.0/Google.Cloud.Redis.V1.UpgradeInstanceRequest)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/3.0.0/Google.Cloud.Redis.V1.UpgradeInstanceRequest)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/2.5.0/Google.Cloud.Redis.V1.UpgradeInstanceRequest)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/2.4.0/Google.Cloud.Redis.V1.UpgradeInstanceRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/2.3.0/Google.Cloud.Redis.V1.UpgradeInstanceRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/2.2.0/Google.Cloud.Redis.V1.UpgradeInstanceRequest) \n\n public sealed class UpgradeInstanceRequest : IMessage\u003cUpgradeInstanceRequest\u003e, IEquatable\u003cUpgradeInstanceRequest\u003e, IDeepCloneable\u003cUpgradeInstanceRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Memorystore for Redis v1 API class UpgradeInstanceRequest.\n\nRequest for\n\\[UpgradeInstance\\]\\[google.cloud.redis.v1.CloudRedis.UpgradeInstance\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e UpgradeInstanceRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[UpgradeInstanceRequest](/dotnet/docs/reference/Google.Cloud.Redis.V1/latest/Google.Cloud.Redis.V1.UpgradeInstanceRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UpgradeInstanceRequest](/dotnet/docs/reference/Google.Cloud.Redis.V1/latest/Google.Cloud.Redis.V1.UpgradeInstanceRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[UpgradeInstanceRequest](/dotnet/docs/reference/Google.Cloud.Redis.V1/latest/Google.Cloud.Redis.V1.UpgradeInstanceRequest), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Redis.V1](/dotnet/docs/reference/Google.Cloud.Redis.V1/latest/Google.Cloud.Redis.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Redis.V1.dll\n\nConstructors\n------------\n\n### UpgradeInstanceRequest()\n\n public UpgradeInstanceRequest()\n\n### UpgradeInstanceRequest(UpgradeInstanceRequest)\n\n public UpgradeInstanceRequest(UpgradeInstanceRequest other)\n\nProperties\n----------\n\n### InstanceName\n\n public InstanceName InstanceName { get; set; }\n\n[InstanceName](/dotnet/docs/reference/Google.Cloud.Redis.V1/latest/Google.Cloud.Redis.V1.InstanceName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.Redis.V1/latest/Google.Cloud.Redis.V1.UpgradeInstanceRequest#Google_Cloud_Redis_V1_UpgradeInstanceRequest_Name) resource name property.\n\n### Name\n\n public string Name { get; set; }\n\nRequired. Redis instance resource name using the form:\n`projects/{project_id}/locations/{location_id}/instances/{instance_id}`\nwhere `location_id` refers to a GCP region.\n\n### RedisVersion\n\n public string RedisVersion { get; set; }\n\nRequired. Specifies the target version of Redis software to upgrade to."]]