public sealed class CreateIndexRequest : IMessage<CreateIndexRequest>, IEquatable<CreateIndexRequest>, IDeepCloneable<CreateIndexRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Firestore Admin v1 API class CreateIndexRequest.
The request for
[FirestoreAdmin.CreateIndex][google.firestore.admin.v1.FirestoreAdmin.CreateIndex].
[[["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\u003eThis page provides reference documentation for the \u003ccode\u003eCreateIndexRequest\u003c/code\u003e class within the Google Cloud Firestore Admin v1 API, specifically for version 3.8.0, and the documentation includes other available versions.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCreateIndexRequest\u003c/code\u003e is used to request the creation of a composite index within Firestore and is part of the \u003ccode\u003eGoogle.Cloud.Firestore.Admin.V1\u003c/code\u003e namespace.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateIndexRequest\u003c/code\u003e class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces, and has inherited members such as \u003ccode\u003eGetHashCode\u003c/code\u003e, \u003ccode\u003eGetType\u003c/code\u003e, and \u003ccode\u003eToString\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateIndexRequest\u003c/code\u003e class includes properties like \u003ccode\u003eIndex\u003c/code\u003e to set the composite index to create, \u003ccode\u003eParent\u003c/code\u003e to specify the parent name of the form \u003ccode\u003eprojects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}\u003c/code\u003e, and \u003ccode\u003eParentAsCollectionGroupName\u003c/code\u003e to represent the parent resource name.\u003c/p\u003e\n"],["\u003cp\u003eThe class also features two constructors, \u003ccode\u003eCreateIndexRequest()\u003c/code\u003e and \u003ccode\u003eCreateIndexRequest(CreateIndexRequest other)\u003c/code\u003e, enabling the creation of a new instance or the cloning of an existing one.\u003c/p\u003e\n"]]],[],null,[]]