public sealed class CreateInstancePartitionRequest : IMessage<CreateInstancePartitionRequest>, IEquatable<CreateInstancePartitionRequest>, IDeepCloneable<CreateInstancePartitionRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Spanner Instance Administration v1 API class CreateInstancePartitionRequest.
The request for
[CreateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstancePartition].
public InstancePartition InstancePartition { get; set; }
Required. The instance partition to create. The instance_partition.name may
be omitted, but if specified must be
<parent>/instancePartitions/<instance_partition_id>.
Required. The ID of the instance partition to create. Valid identifiers are
of the form [a-z][-a-z0-9]*[a-z0-9] and must be between 2 and 64
characters in length.
[[["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-28 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eCreateInstancePartitionRequest\u003c/code\u003e class is part of the Google Cloud Spanner Instance Administration v1 API and is used to request the creation of an instance partition.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, enhancing its functionality and usability.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of \u003ccode\u003eCreateInstancePartitionRequest\u003c/code\u003e include \u003ccode\u003eInstancePartition\u003c/code\u003e, \u003ccode\u003eInstancePartitionId\u003c/code\u003e, \u003ccode\u003eParent\u003c/code\u003e, and \u003ccode\u003eParentAsInstanceName\u003c/code\u003e, which are crucial for defining and identifying the instance partition to be created.\u003c/p\u003e\n"],["\u003cp\u003eThe documentation provides a list of available versions for the \u003ccode\u003eCreateInstancePartitionRequest\u003c/code\u003e, ranging from the latest beta version (5.0.0-beta05) to older versions like 3.5.0.\u003c/p\u003e\n"],["\u003cp\u003eThe class has 2 constructors that can be used, one with no parameters, and another one taking an existing \u003ccode\u003eCreateInstancePartitionRequest\u003c/code\u003e object.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Spanner Instance Administration v1 API - Class CreateInstancePartitionRequest (5.1.0)\n\nVersion latestkeyboard_arrow_down\n\n- [5.1.0 (latest)](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/latest/Google.Cloud.Spanner.Admin.Instance.V1.CreateInstancePartitionRequest)\n- [5.0.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/5.0.0/Google.Cloud.Spanner.Admin.Instance.V1.CreateInstancePartitionRequest)\n- [4.6.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.6.0/Google.Cloud.Spanner.Admin.Instance.V1.CreateInstancePartitionRequest)\n- [4.5.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.5.0/Google.Cloud.Spanner.Admin.Instance.V1.CreateInstancePartitionRequest)\n- [4.4.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.4.0/Google.Cloud.Spanner.Admin.Instance.V1.CreateInstancePartitionRequest)\n- [4.3.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.3.0/Google.Cloud.Spanner.Admin.Instance.V1.CreateInstancePartitionRequest)\n- [4.2.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.2.0/Google.Cloud.Spanner.Admin.Instance.V1.CreateInstancePartitionRequest)\n- [4.1.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.1.0/Google.Cloud.Spanner.Admin.Instance.V1.CreateInstancePartitionRequest)\n- [4.0.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.0.0/Google.Cloud.Spanner.Admin.Instance.V1.CreateInstancePartitionRequest)\n- [3.15.1](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.15.1/Google.Cloud.Spanner.Admin.Instance.V1.CreateInstancePartitionRequest)\n- [3.14.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.14.0/Google.Cloud.Spanner.Admin.Instance.V1.CreateInstancePartitionRequest)\n- [3.13.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.13.0/Google.Cloud.Spanner.Admin.Instance.V1.CreateInstancePartitionRequest)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.12.0/Google.Cloud.Spanner.Admin.Instance.V1.CreateInstancePartitionRequest)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.11.0/Google.Cloud.Spanner.Admin.Instance.V1.CreateInstancePartitionRequest)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.10.0/Google.Cloud.Spanner.Admin.Instance.V1.CreateInstancePartitionRequest)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.9.0/Google.Cloud.Spanner.Admin.Instance.V1.CreateInstancePartitionRequest)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.8.0/Google.Cloud.Spanner.Admin.Instance.V1.CreateInstancePartitionRequest)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.7.0/Google.Cloud.Spanner.Admin.Instance.V1.CreateInstancePartitionRequest)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.6.0/Google.Cloud.Spanner.Admin.Instance.V1.CreateInstancePartitionRequest)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.5.0/Google.Cloud.Spanner.Admin.Instance.V1.CreateInstancePartitionRequest) \n\n public sealed class CreateInstancePartitionRequest : IMessage\u003cCreateInstancePartitionRequest\u003e, IEquatable\u003cCreateInstancePartitionRequest\u003e, IDeepCloneable\u003cCreateInstancePartitionRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Spanner Instance Administration v1 API class CreateInstancePartitionRequest.\n\nThe request for\n\\[CreateInstancePartition\\]\\[google.spanner.admin.instance.v1.InstanceAdmin.CreateInstancePartition\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CreateInstancePartitionRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CreateInstancePartitionRequest](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/latest/Google.Cloud.Spanner.Admin.Instance.V1.CreateInstancePartitionRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateInstancePartitionRequest](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/latest/Google.Cloud.Spanner.Admin.Instance.V1.CreateInstancePartitionRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreateInstancePartitionRequest](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/latest/Google.Cloud.Spanner.Admin.Instance.V1.CreateInstancePartitionRequest), [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.Spanner.Admin.Instance.V1](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/latest/Google.Cloud.Spanner.Admin.Instance.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Spanner.Admin.Instance.V1.dll\n\nConstructors\n------------\n\n### CreateInstancePartitionRequest()\n\n public CreateInstancePartitionRequest()\n\n### CreateInstancePartitionRequest(CreateInstancePartitionRequest)\n\n public CreateInstancePartitionRequest(CreateInstancePartitionRequest other)\n\nProperties\n----------\n\n### InstancePartition\n\n public InstancePartition InstancePartition { get; set; }\n\nRequired. The instance partition to create. The instance_partition.name may\nbe omitted, but if specified must be\n`\u003cparent\u003e/instancePartitions/\u003cinstance_partition_id\u003e`.\n\n### InstancePartitionId\n\n public string InstancePartitionId { get; set; }\n\nRequired. The ID of the instance partition to create. Valid identifiers are\nof the form `[a-z][-a-z0-9]*[a-z0-9]` and must be between 2 and 64\ncharacters in length.\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The name of the instance in which to create the instance\npartition. Values are of the form\n`projects/\u003cproject\u003e/instances/\u003cinstance\u003e`.\n\n### ParentAsInstanceName\n\n public InstanceName ParentAsInstanceName { get; set; }\n\nGoogle.Cloud.Spanner.Common.V1.InstanceName-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/latest/Google.Cloud.Spanner.Admin.Instance.V1.CreateInstancePartitionRequest#Google_Cloud_Spanner_Admin_Instance_V1_CreateInstancePartitionRequest_Parent) resource name property."]]