public sealed class UpdateInstanceRequest : IMessage<UpdateInstanceRequest>, IEquatable<UpdateInstanceRequest>, IDeepCloneable<UpdateInstanceRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Memorystore for Redis v1 API class UpdateInstanceRequest.
Request for
[UpdateInstance][google.cloud.redis.v1.CloudRedis.UpdateInstance].
Required. Mask of fields to update. At least one path must be supplied in
this field. The elements of the repeated paths field may only include these
fields from [Instance][google.cloud.redis.v1.Instance]:
[[["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 latest version of the \u003ccode\u003eUpdateInstanceRequest\u003c/code\u003e class is 3.5.0, part of the Google Cloud Memorystore for Redis v1 API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUpdateInstanceRequest\u003c/code\u003e is a class for handling requests to update Redis instances, implementing interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateInstanceRequest\u003c/code\u003e class provides constructors for creating new instances and supports specifying the update details via the \u003ccode\u003eInstance\u003c/code\u003e property and the fields to be updated via \u003ccode\u003eUpdateMask\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateMask\u003c/code\u003e property allows for selecting specific fields within an \u003ccode\u003eInstance\u003c/code\u003e, such as \u003ccode\u003edisplayName\u003c/code\u003e, \u003ccode\u003elabels\u003c/code\u003e, \u003ccode\u003ememorySizeGb\u003c/code\u003e, \u003ccode\u003eredisConfig\u003c/code\u003e, and \u003ccode\u003ereplica_count\u003c/code\u003e, for modification.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateInstanceRequest\u003c/code\u003e is a part of the \u003ccode\u003eGoogle.Cloud.Redis.V1\u003c/code\u003e namespace and is contained within the \u003ccode\u003eGoogle.Cloud.Redis.V1.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Memorystore for Redis v1 API - Class UpdateInstanceRequest (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.UpdateInstanceRequest)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/3.4.0/Google.Cloud.Redis.V1.UpdateInstanceRequest)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/3.3.0/Google.Cloud.Redis.V1.UpdateInstanceRequest)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/3.2.0/Google.Cloud.Redis.V1.UpdateInstanceRequest)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/3.1.0/Google.Cloud.Redis.V1.UpdateInstanceRequest)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/3.0.0/Google.Cloud.Redis.V1.UpdateInstanceRequest)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/2.5.0/Google.Cloud.Redis.V1.UpdateInstanceRequest)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/2.4.0/Google.Cloud.Redis.V1.UpdateInstanceRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/2.3.0/Google.Cloud.Redis.V1.UpdateInstanceRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Redis.V1/2.2.0/Google.Cloud.Redis.V1.UpdateInstanceRequest) \n\n public sealed class UpdateInstanceRequest : IMessage\u003cUpdateInstanceRequest\u003e, IEquatable\u003cUpdateInstanceRequest\u003e, IDeepCloneable\u003cUpdateInstanceRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Memorystore for Redis v1 API class UpdateInstanceRequest.\n\nRequest for\n\\[UpdateInstance\\]\\[google.cloud.redis.v1.CloudRedis.UpdateInstance\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e UpdateInstanceRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[UpdateInstanceRequest](/dotnet/docs/reference/Google.Cloud.Redis.V1/latest/Google.Cloud.Redis.V1.UpdateInstanceRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UpdateInstanceRequest](/dotnet/docs/reference/Google.Cloud.Redis.V1/latest/Google.Cloud.Redis.V1.UpdateInstanceRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[UpdateInstanceRequest](/dotnet/docs/reference/Google.Cloud.Redis.V1/latest/Google.Cloud.Redis.V1.UpdateInstanceRequest), [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### UpdateInstanceRequest()\n\n public UpdateInstanceRequest()\n\n### UpdateInstanceRequest(UpdateInstanceRequest)\n\n public UpdateInstanceRequest(UpdateInstanceRequest other)\n\nProperties\n----------\n\n### Instance\n\n public Instance Instance { get; set; }\n\nRequired. Update description.\nOnly fields specified in update_mask are updated.\n\n### UpdateMask\n\n public FieldMask UpdateMask { get; set; }\n\nRequired. Mask of fields to update. At least one path must be supplied in\nthis field. The elements of the repeated paths field may only include these\nfields from \\[Instance\\]\\[google.cloud.redis.v1.Instance\\]:\n\n- `displayName`\n- `labels`\n- `memorySizeGb`\n- `redisConfig`\n- `replica_count`"]]