public sealed class CreateInstanceConfigRequest : IMessage<CreateInstanceConfigRequest>, IEquatable<CreateInstanceConfigRequest>, IDeepCloneable<CreateInstanceConfigRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Spanner Instance Administration v1 API class CreateInstanceConfigRequest.
The request for
[CreateInstanceConfig][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig].
public InstanceConfig InstanceConfig { get; set; }
Required. The InstanceConfig proto of the configuration to create.
instance_config.name must be
<parent>/instanceConfigs/<instance_config_id>.
instance_config.base_config must be a Google-managed configuration name,
e.g. <parent>/instanceConfigs/us-east1, <parent>/instanceConfigs/nam3.
Required. The ID of the instance configuration to create. Valid identifiers
are of the form custom-[-a-z0-9]*[a-z0-9] and must be between 2 and 64
characters in length. The custom- prefix is required to avoid name
conflicts with Google-managed configurations.
[[["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\u003eCreateInstanceConfigRequest\u003c/code\u003e class is used to create a request for the \u003ccode\u003eInstanceAdmin.CreateInstanceConfigRequest\u003c/code\u003e API method in Google Cloud Spanner.\u003c/p\u003e\n"],["\u003cp\u003eThis class 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, allowing for various operations like deep cloning and message handling.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateInstanceConfigRequest\u003c/code\u003e class provides properties such as \u003ccode\u003eInstanceConfig\u003c/code\u003e, \u003ccode\u003eInstanceConfigId\u003c/code\u003e, \u003ccode\u003eParent\u003c/code\u003e, \u003ccode\u003eParentAsProjectName\u003c/code\u003e, and \u003ccode\u003eValidateOnly\u003c/code\u003e for configuring the creation of instance configurations.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of this class is \u003ccode\u003e5.0.0-beta05\u003c/code\u003e, and several previous versions, ranging from \u003ccode\u003e3.5.0\u003c/code\u003e to \u003ccode\u003e5.0.0-beta04\u003c/code\u003e are also documented, indicating an evolution of the API.\u003c/p\u003e\n"],["\u003cp\u003eThe configuration needs to have a \u003ccode\u003ecustom-\u003c/code\u003e prefix and must be between 2 and 64 characters long.\u003c/p\u003e\n"]]],[],null,["# Google Cloud Spanner Instance Administration v1 API - Class CreateInstanceConfigRequest (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.CreateInstanceConfigRequest)\n- [5.0.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/5.0.0/Google.Cloud.Spanner.Admin.Instance.V1.CreateInstanceConfigRequest)\n- [4.6.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.6.0/Google.Cloud.Spanner.Admin.Instance.V1.CreateInstanceConfigRequest)\n- [4.5.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.5.0/Google.Cloud.Spanner.Admin.Instance.V1.CreateInstanceConfigRequest)\n- [4.4.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.4.0/Google.Cloud.Spanner.Admin.Instance.V1.CreateInstanceConfigRequest)\n- [4.3.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.3.0/Google.Cloud.Spanner.Admin.Instance.V1.CreateInstanceConfigRequest)\n- [4.2.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.2.0/Google.Cloud.Spanner.Admin.Instance.V1.CreateInstanceConfigRequest)\n- [4.1.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.1.0/Google.Cloud.Spanner.Admin.Instance.V1.CreateInstanceConfigRequest)\n- [4.0.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/4.0.0/Google.Cloud.Spanner.Admin.Instance.V1.CreateInstanceConfigRequest)\n- [3.15.1](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.15.1/Google.Cloud.Spanner.Admin.Instance.V1.CreateInstanceConfigRequest)\n- [3.14.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.14.0/Google.Cloud.Spanner.Admin.Instance.V1.CreateInstanceConfigRequest)\n- [3.13.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.13.0/Google.Cloud.Spanner.Admin.Instance.V1.CreateInstanceConfigRequest)\n- [3.12.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.12.0/Google.Cloud.Spanner.Admin.Instance.V1.CreateInstanceConfigRequest)\n- [3.11.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.11.0/Google.Cloud.Spanner.Admin.Instance.V1.CreateInstanceConfigRequest)\n- [3.10.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.10.0/Google.Cloud.Spanner.Admin.Instance.V1.CreateInstanceConfigRequest)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.9.0/Google.Cloud.Spanner.Admin.Instance.V1.CreateInstanceConfigRequest)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.8.0/Google.Cloud.Spanner.Admin.Instance.V1.CreateInstanceConfigRequest)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.7.0/Google.Cloud.Spanner.Admin.Instance.V1.CreateInstanceConfigRequest)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.6.0/Google.Cloud.Spanner.Admin.Instance.V1.CreateInstanceConfigRequest)\n- [3.5.0](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/3.5.0/Google.Cloud.Spanner.Admin.Instance.V1.CreateInstanceConfigRequest) \n\n public sealed class CreateInstanceConfigRequest : IMessage\u003cCreateInstanceConfigRequest\u003e, IEquatable\u003cCreateInstanceConfigRequest\u003e, IDeepCloneable\u003cCreateInstanceConfigRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Google Cloud Spanner Instance Administration v1 API class CreateInstanceConfigRequest.\n\nThe request for\n\\[CreateInstanceConfig\\]\\[google.spanner.admin.instance.v1.InstanceAdmin.CreateInstanceConfig\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CreateInstanceConfigRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CreateInstanceConfigRequest](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/latest/Google.Cloud.Spanner.Admin.Instance.V1.CreateInstanceConfigRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateInstanceConfigRequest](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/latest/Google.Cloud.Spanner.Admin.Instance.V1.CreateInstanceConfigRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreateInstanceConfigRequest](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/latest/Google.Cloud.Spanner.Admin.Instance.V1.CreateInstanceConfigRequest), [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### CreateInstanceConfigRequest()\n\n public CreateInstanceConfigRequest()\n\n### CreateInstanceConfigRequest(CreateInstanceConfigRequest)\n\n public CreateInstanceConfigRequest(CreateInstanceConfigRequest other)\n\nProperties\n----------\n\n### InstanceConfig\n\n public InstanceConfig InstanceConfig { get; set; }\n\nRequired. The `InstanceConfig` proto of the configuration to create.\n`instance_config.name` must be\n`\u003cparent\u003e/instanceConfigs/\u003cinstance_config_id\u003e`.\n`instance_config.base_config` must be a Google-managed configuration name,\ne.g. \\\u003cparent\\\u003e/instanceConfigs/us-east1, \\\u003cparent\\\u003e/instanceConfigs/nam3.\n\n### InstanceConfigId\n\n public string InstanceConfigId { get; set; }\n\nRequired. The ID of the instance configuration to create. Valid identifiers\nare of the form `custom-[-a-z0-9]*[a-z0-9]` and must be between 2 and 64\ncharacters in length. The `custom-` prefix is required to avoid name\nconflicts with Google-managed configurations.\n\n### Parent\n\n public string Parent { get; set; }\n\nRequired. The name of the project in which to create the instance\nconfiguration. Values are of the form `projects/\u003cproject\u003e`.\n\n### ParentAsProjectName\n\n public ProjectName ParentAsProjectName { get; set; }\n\n[ProjectName](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.ProjectName.html)-typed view over the [Parent](/dotnet/docs/reference/Google.Cloud.Spanner.Admin.Instance.V1/latest/Google.Cloud.Spanner.Admin.Instance.V1.CreateInstanceConfigRequest#Google_Cloud_Spanner_Admin_Instance_V1_CreateInstanceConfigRequest_Parent) resource name property.\n\n### ValidateOnly\n\n public bool ValidateOnly { get; set; }\n\nAn option to validate, but not actually execute, a request,\nand provide the same response."]]