public sealed class UpdateUserRequest : IMessage<UpdateUserRequest>, IEquatable<UpdateUserRequest>, IDeepCloneable<UpdateUserRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the AlloyDB v1 API class UpdateUserRequest.
Optional. An optional request ID to identify requests. Specify a unique
request ID so that if you must retry your request, the server ignores the
request if it has already been completed. The server guarantees 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 the original operation with the same request ID
was received, and if so, ignores 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).
Optional. Field mask is used to specify the fields to be overwritten in the
User resource by the update.
The fields specified in the update_mask are relative to the resource, not
the full request. A field will be overwritten if it is in the mask. If the
user does not provide a mask then all fields will be overwritten.
[[["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\u003eThe latest version of the \u003ccode\u003eUpdateUserRequest\u003c/code\u003e API class is 1.9.0, part of the Google Cloud AlloyDB V1 API.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUpdateUserRequest\u003c/code\u003e class is used for updating a User within the AlloyDB service and implements multiple interfaces including \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 \u003ccode\u003eUpdateUserRequest\u003c/code\u003e has properties like \u003ccode\u003eAllowMissing\u003c/code\u003e, \u003ccode\u003eRequestId\u003c/code\u003e, \u003ccode\u003eUpdateMask\u003c/code\u003e, \u003ccode\u003eUser\u003c/code\u003e, and \u003ccode\u003eValidateOnly\u003c/code\u003e, allowing for various options when performing updates.\u003c/p\u003e\n"],["\u003cp\u003eOlder versions of the \u003ccode\u003eUpdateUserRequest\u003c/code\u003e class, ranging from 1.0.0 to 1.8.0, are also available and linked to their respective documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe update operation allows for specifying which fields to be overwritten using \u003ccode\u003eUpdateMask\u003c/code\u003e, or by default, all fields are overwritten if no mask is specified.\u003c/p\u003e\n"]]],[],null,["# AlloyDB v1 API - Class UpdateUserRequest (1.11.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.11.0 (latest)](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.UpdateUserRequest)\n- [1.10.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.10.0/Google.Cloud.AlloyDb.V1.UpdateUserRequest)\n- [1.9.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.9.0/Google.Cloud.AlloyDb.V1.UpdateUserRequest)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.8.0/Google.Cloud.AlloyDb.V1.UpdateUserRequest)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.7.0/Google.Cloud.AlloyDb.V1.UpdateUserRequest)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.6.0/Google.Cloud.AlloyDb.V1.UpdateUserRequest)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.5.0/Google.Cloud.AlloyDb.V1.UpdateUserRequest)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.4.0/Google.Cloud.AlloyDb.V1.UpdateUserRequest)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.3.0/Google.Cloud.AlloyDb.V1.UpdateUserRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.2.0/Google.Cloud.AlloyDb.V1.UpdateUserRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.1.0/Google.Cloud.AlloyDb.V1.UpdateUserRequest)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/1.0.0/Google.Cloud.AlloyDb.V1.UpdateUserRequest) \n\n public sealed class UpdateUserRequest : IMessage\u003cUpdateUserRequest\u003e, IEquatable\u003cUpdateUserRequest\u003e, IDeepCloneable\u003cUpdateUserRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the AlloyDB v1 API class UpdateUserRequest.\n\nMessage for updating a User \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e UpdateUserRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[UpdateUserRequest](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.UpdateUserRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[UpdateUserRequest](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.UpdateUserRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[UpdateUserRequest](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1.UpdateUserRequest), [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.AlloyDb.V1](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1/latest/Google.Cloud.AlloyDb.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.AlloyDb.V1.dll\n\nConstructors\n------------\n\n### UpdateUserRequest()\n\n public UpdateUserRequest()\n\n### UpdateUserRequest(UpdateUserRequest)\n\n public UpdateUserRequest(UpdateUserRequest other)\n\nProperties\n----------\n\n### AllowMissing\n\n public bool AllowMissing { get; set; }\n\nOptional. Allow missing fields in the update mask.\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 ignores the\nrequest if it has already been completed. The server guarantees that for at\nleast 60 minutes since the first request.\n\nFor example, consider a situation where you make an initial request and\nthe request times out. If you make the request again with the same request\nID, the server can check if the original operation with the same request ID\nwas received, and if so, ignores 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. Field mask is used to specify the fields to be overwritten in the\nUser resource by the update.\nThe fields specified in the update_mask are relative to the resource, not\nthe full request. A field will be overwritten if it is in the mask. If the\nuser does not provide a mask then all fields will be overwritten.\n\n### User\n\n public User User { get; set; }\n\nRequired. The resource being updated\n\n### ValidateOnly\n\n public bool ValidateOnly { get; set; }\n\nOptional. If set, the backend validates the request, but doesn't actually\nexecute it."]]