public sealed class CreateUserRequest : IMessage<CreateUserRequest>, IEquatable<CreateUserRequest>, IDeepCloneable<CreateUserRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the AlloyDB v1beta API class CreateUserRequest.
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).
[[["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 \u003ccode\u003eCreateUserRequest\u003c/code\u003e class in the AlloyDB v1beta API is used to create a new user, and it implements several interfaces for message handling, equality checks, deep cloning, and buffer management.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties like \u003ccode\u003eParent\u003c/code\u003e, \u003ccode\u003eRequestId\u003c/code\u003e, \u003ccode\u003eUser\u003c/code\u003e, \u003ccode\u003eUserId\u003c/code\u003e, and \u003ccode\u003eValidateOnly\u003c/code\u003e which define the parameters of the user creation request such as the location of the cluster, optional request identification, the user details, a user-provided identifier, and whether the request should be validated without execution.\u003c/p\u003e\n"],["\u003cp\u003eThis \u003ccode\u003eCreateUserRequest\u003c/code\u003e class is implemented under the \u003ccode\u003eGoogle.Cloud.AlloyDb.V1Beta\u003c/code\u003e namespace within the \u003ccode\u003eGoogle.Cloud.AlloyDb.V1Beta.dll\u003c/code\u003e assembly.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateUserRequest\u003c/code\u003e can be instantiated with no parameters using the default constructor, or by passing another \u003ccode\u003eCreateUserRequest\u003c/code\u003e object to the constructor to create a new object containing the same parameter values.\u003c/p\u003e\n"]]],[],null,["# AlloyDB v1beta API - Class CreateUserRequest (1.0.0-beta12)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta12 (latest)](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.CreateUserRequest)\n- [1.0.0-beta11](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/1.0.0-beta11/Google.Cloud.AlloyDb.V1Beta.CreateUserRequest) \n\n public sealed class CreateUserRequest : IMessage\u003cCreateUserRequest\u003e, IEquatable\u003cCreateUserRequest\u003e, IDeepCloneable\u003cCreateUserRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the AlloyDB v1beta API class CreateUserRequest.\n\nMessage for creating a User \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CreateUserRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CreateUserRequest](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.CreateUserRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateUserRequest](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.CreateUserRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreateUserRequest](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.CreateUserRequest), [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.V1Beta](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.AlloyDb.V1Beta.dll\n\nConstructors\n------------\n\n### CreateUserRequest()\n\n public CreateUserRequest()\n\n### CreateUserRequest(CreateUserRequest)\n\n public CreateUserRequest(CreateUserRequest other)\n\nProperties\n----------\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. Value for parent.\n\n### ParentAsClusterName\n\n public ClusterName ParentAsClusterName { get; set; }\n\n[ClusterName](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.ClusterName)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.AlloyDb.V1Beta/latest/Google.Cloud.AlloyDb.V1Beta.CreateUserRequest#Google_Cloud_AlloyDb_V1Beta_CreateUserRequest_Parent) resource name property.\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### User\n\n public User User { get; set; }\n\nRequired. The resource being created\n\n### UserId\n\n public string UserId { get; set; }\n\nRequired. ID of the requesting object.\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."]]