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\u003eThe latest version of the \u003ccode\u003eCreateIndexRequest\u003c/code\u003e is 3.12.0, with documentation provided, and there are multiple previous versions available, ranging down to version 2.2.0.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCreateIndexRequest\u003c/code\u003e is a class within the Firestore Admin v1 API, specifically for requesting the creation of an index, as 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<CreateIndexRequest>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<CreateIndexRequest>\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class has two constructors, a parameterless constructor and one that takes another \u003ccode\u003eCreateIndexRequest\u003c/code\u003e instance as input, and it provides properties such as \u003ccode\u003eIndex\u003c/code\u003e, \u003ccode\u003eParent\u003c/code\u003e, and \u003ccode\u003eParentAsCollectionGroupName\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eCreateIndexRequest\u003c/code\u003e class requires the composite index to create, with a parent name of the form \u003ccode\u003eprojects/{project_id}/databases/{database_id}/collectionGroups/{collection_id}\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]