public sealed class UpdateInstanceRequest : IMessage<UpdateInstanceRequest>, IEquatable<UpdateInstanceRequest>, IDeepCloneable<UpdateInstanceRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Memorystore v1beta API class UpdateInstanceRequest.
Optional. An optional request ID to identify requests. Specify a unique
request ID so that if you must retry your request, the server will know to
ignore the request if it has already been completed. The server will
guarantee that for at least 60 minutes since the first request.
For example, consider a situation where you make an initial request and the
request times out. If you make the request again with the same request
ID, the server can check if original operation with the same request ID
was received, and if so, will ignore the second request. This prevents
clients from accidentally creating duplicate commitments.
The request ID must be a valid UUID with the exception that zero UUID is
not supported (00000000-0000-0000-0000-000000000000).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eUpdateInstanceRequest\u003c/code\u003e class within the Memorystore v1beta API for .NET.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eUpdateInstanceRequest\u003c/code\u003e is a request message used for updating an instance, 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 class offers two constructors: a default constructor and one that takes another \u003ccode\u003eUpdateInstanceRequest\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateInstanceRequest\u003c/code\u003e class has properties for \u003ccode\u003eInstance\u003c/code\u003e, \u003ccode\u003eRequestId\u003c/code\u003e, and \u003ccode\u003eUpdateMask\u003c/code\u003e, allowing specification of the instance to update, an optional request identifier, and the fields to be updated.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the \u003ccode\u003eUpdateInstanceRequest\u003c/code\u003e is version 1.0.0-beta02, and a previous version of 1.0.0-beta01 is also available.\u003c/p\u003e\n"]]],[],null,["# Memorystore v1beta API - Class UpdateInstanceRequest (1.0.0-beta02)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta02 (latest)](/dotnet/docs/reference/Google.Cloud.Memorystore.V1Beta/latest/Google.Cloud.Memorystore.V1Beta.UpdateInstanceRequest)\n- [1.0.0-beta01](/dotnet/docs/reference/Google.Cloud.Memorystore.V1Beta/1.0.0-beta01/Google.Cloud.Memorystore.V1Beta.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 Memorystore v1beta API class UpdateInstanceRequest.\n\nRequest message for \\[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.Memorystore.V1Beta/latest/Google.Cloud.Memorystore.V1Beta.UpdateInstanceRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UpdateInstanceRequest](/dotnet/docs/reference/Google.Cloud.Memorystore.V1Beta/latest/Google.Cloud.Memorystore.V1Beta.UpdateInstanceRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[UpdateInstanceRequest](/dotnet/docs/reference/Google.Cloud.Memorystore.V1Beta/latest/Google.Cloud.Memorystore.V1Beta.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.Memorystore.V1Beta](/dotnet/docs/reference/Google.Cloud.Memorystore.V1Beta/latest/Google.Cloud.Memorystore.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.Memorystore.V1Beta.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. The instance to update.\n\n### RequestId\n\n public string RequestId { get; set; }\n\nOptional. An optional request ID to identify requests. Specify a unique\nrequest ID so that if you must retry your request, the server will know to\nignore the request if it has already been completed. The server will\nguarantee that for at least 60 minutes since the first request.\n\nFor example, consider a situation where you make an initial request and the\nrequest times out. If you make the request again with the same request\nID, the server can check if original operation with the same request ID\nwas received, and if so, will ignore the second request. This prevents\nclients from accidentally creating duplicate commitments.\n\nThe request ID must be a valid UUID with the exception that zero UUID is\nnot supported (00000000-0000-0000-0000-000000000000).\n\n### UpdateMask\n\n public FieldMask UpdateMask { get; set; }\n\nOptional. The list of fields to be updated on the instance. At least one\nfield must be specified."]]