public sealed class CreateIndexRequest : IMessage<CreateIndexRequest>, IEquatable<CreateIndexRequest>, IDeepCloneable<CreateIndexRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Datastore v1 API class CreateIndexRequest.
The request for
[google.datastore.admin.v1.DatastoreAdmin.CreateIndex][google.datastore.admin.v1.DatastoreAdmin.CreateIndex].
[[["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\u003eThis webpage provides documentation for the \u003ccode\u003eCreateIndexRequest\u003c/code\u003e class within the Google Cloud Datastore Admin V1 API, specifically for .NET developers.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCreateIndexRequest\u003c/code\u003e is used to request the creation of an index, with the latest version being 2.4.0, and the webpage also includes other versions.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateIndexRequest\u003c/code\u003e 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, offering a variety of functionalities.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties like \u003ccode\u003eIndex\u003c/code\u003e, which specifies the index to be created, and \u003ccode\u003eProjectId\u003c/code\u003e, indicating the target project for the request.\u003c/p\u003e\n"],["\u003cp\u003eIt contains constructors to create new instances either with default values, or using another \u003ccode\u003eCreateIndexRequest\u003c/code\u003e instance, plus a list of inherited members from the base class \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Cloud Datastore v1 API - Class CreateIndexRequest (2.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.4.0 (latest)](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/latest/Google.Cloud.Datastore.Admin.V1.CreateIndexRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/2.3.0/Google.Cloud.Datastore.Admin.V1.CreateIndexRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/2.2.0/Google.Cloud.Datastore.Admin.V1.CreateIndexRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/2.1.0/Google.Cloud.Datastore.Admin.V1.CreateIndexRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/2.0.0/Google.Cloud.Datastore.Admin.V1.CreateIndexRequest)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/1.4.0/Google.Cloud.Datastore.Admin.V1.CreateIndexRequest)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/1.3.0/Google.Cloud.Datastore.Admin.V1.CreateIndexRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/1.2.0/Google.Cloud.Datastore.Admin.V1.CreateIndexRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/1.1.0/Google.Cloud.Datastore.Admin.V1.CreateIndexRequest) \n\n public sealed class CreateIndexRequest : IMessage\u003cCreateIndexRequest\u003e, IEquatable\u003cCreateIndexRequest\u003e, IDeepCloneable\u003cCreateIndexRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Datastore v1 API class CreateIndexRequest.\n\nThe request for\n\\[google.datastore.admin.v1.DatastoreAdmin.CreateIndex\\]\\[google.datastore.admin.v1.DatastoreAdmin.CreateIndex\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e CreateIndexRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[CreateIndexRequest](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/latest/Google.Cloud.Datastore.Admin.V1.CreateIndexRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateIndexRequest](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/latest/Google.Cloud.Datastore.Admin.V1.CreateIndexRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[CreateIndexRequest](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/latest/Google.Cloud.Datastore.Admin.V1.CreateIndexRequest), [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.Datastore.Admin.V1](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/latest/Google.Cloud.Datastore.Admin.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Datastore.Admin.V1.dll\n\nConstructors\n------------\n\n### CreateIndexRequest()\n\n public CreateIndexRequest()\n\n### CreateIndexRequest(CreateIndexRequest)\n\n public CreateIndexRequest(CreateIndexRequest other)\n\nProperties\n----------\n\n### Index\n\n public Index Index { get; set; }\n\nThe index to create. The name and state fields are output only and will be\nignored. Single property indexes cannot be created or deleted.\n\n### ProjectId\n\n public string ProjectId { get; set; }\n\nProject ID against which to make the request."]]