public sealed class CreateClusterRequest : IMessage<CreateClusterRequest>, IEquatable<CreateClusterRequest>, IDeepCloneable<CreateClusterRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the AlloyDB v1 API class CreateClusterRequest.
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).
Optional. If set, performs request validation (e.g. permission checks and
any other type of validation), but do not actually execute the create
request.
[[["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 available for the \u003ccode\u003eCreateClusterRequest\u003c/code\u003e class is 1.9.0, but the current documentation is for version 1.7.0, and there are several other versions available for it, including all the way back to 1.0.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateClusterRequest\u003c/code\u003e class, found within the \u003ccode\u003eGoogle.Cloud.AlloyDb.V1\u003c/code\u003e namespace, is used to create a cluster and implements 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\u003eCreateClusterRequest\u003c/code\u003e class has two constructors: a parameterless one and one that takes another \u003ccode\u003eCreateClusterRequest\u003c/code\u003e object as a parameter, and includes several properties to define the specifics of the cluster, such as \u003ccode\u003eCluster\u003c/code\u003e, \u003ccode\u003eClusterId\u003c/code\u003e, \u003ccode\u003eParent\u003c/code\u003e, \u003ccode\u003eParentAsLocationName\u003c/code\u003e, \u003ccode\u003eRequestId\u003c/code\u003e, and \u003ccode\u003eValidateOnly\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eParent\u003c/code\u003e and \u003ccode\u003eClusterId\u003c/code\u003e properties are required fields for the request, with \u003ccode\u003eParent\u003c/code\u003e specifying the location of the new cluster and \u003ccode\u003eClusterId\u003c/code\u003e being the ID of the requesting object.\u003c/p\u003e\n"],["\u003cp\u003eThe class can perform request validation without executing the create operation when the \u003ccode\u003eValidateOnly\u003c/code\u003e property is set, and provides a \u003ccode\u003eRequestId\u003c/code\u003e property for managing retries and preventing duplicate requests.\u003c/p\u003e\n"]]],[],null,[]]