public sealed class GetIndexRequest : IMessage<GetIndexRequest>, IEquatable<GetIndexRequest>, IDeepCloneable<GetIndexRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Datastore v1 API class GetIndexRequest.
The request for
[google.datastore.admin.v1.DatastoreAdmin.GetIndex][google.datastore.admin.v1.DatastoreAdmin.GetIndex].
[[["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\u003eGetIndexRequest\u003c/code\u003e class is part of the Google Cloud Datastore Admin v1 API and is used to request information about a specific index.\u003c/p\u003e\n"],["\u003cp\u003eThis class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable<GetIndexRequest>\u003c/code\u003e, \u003ccode\u003eIDeepCloneable<GetIndexRequest>\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt has two constructors: a default one \u003ccode\u003eGetIndexRequest()\u003c/code\u003e and another one \u003ccode\u003eGetIndexRequest(GetIndexRequest other)\u003c/code\u003e that takes another \u003ccode\u003eGetIndexRequest\u003c/code\u003e object as a parameter for cloning.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGetIndexRequest\u003c/code\u003e class includes properties such as \u003ccode\u003eIndexId\u003c/code\u003e to specify the target index and \u003ccode\u003eProjectId\u003c/code\u003e to set the relevant project for the request, both of which are strings.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions of the API available, with 2.4.0 being the latest version for the \u003ccode\u003eGetIndexRequest\u003c/code\u003e class.\u003c/p\u003e\n"]]],[],null,["# Cloud Datastore v1 API - Class GetIndexRequest (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.GetIndexRequest)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/2.3.0/Google.Cloud.Datastore.Admin.V1.GetIndexRequest)\n- [2.2.0](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/2.2.0/Google.Cloud.Datastore.Admin.V1.GetIndexRequest)\n- [2.1.0](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/2.1.0/Google.Cloud.Datastore.Admin.V1.GetIndexRequest)\n- [2.0.0](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/2.0.0/Google.Cloud.Datastore.Admin.V1.GetIndexRequest)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/1.4.0/Google.Cloud.Datastore.Admin.V1.GetIndexRequest)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/1.3.0/Google.Cloud.Datastore.Admin.V1.GetIndexRequest)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/1.2.0/Google.Cloud.Datastore.Admin.V1.GetIndexRequest)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/1.1.0/Google.Cloud.Datastore.Admin.V1.GetIndexRequest) \n\n public sealed class GetIndexRequest : IMessage\u003cGetIndexRequest\u003e, IEquatable\u003cGetIndexRequest\u003e, IDeepCloneable\u003cGetIndexRequest\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Cloud Datastore v1 API class GetIndexRequest.\n\nThe request for\n\\[google.datastore.admin.v1.DatastoreAdmin.GetIndex\\]\\[google.datastore.admin.v1.DatastoreAdmin.GetIndex\\]. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e GetIndexRequest \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GetIndexRequest](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/latest/Google.Cloud.Datastore.Admin.V1.GetIndexRequest), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GetIndexRequest](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/latest/Google.Cloud.Datastore.Admin.V1.GetIndexRequest), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GetIndexRequest](/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/latest/Google.Cloud.Datastore.Admin.V1.GetIndexRequest), [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### GetIndexRequest()\n\n public GetIndexRequest()\n\n### GetIndexRequest(GetIndexRequest)\n\n public GetIndexRequest(GetIndexRequest other)\n\nProperties\n----------\n\n### IndexId\n\n public string IndexId { get; set; }\n\nThe resource ID of the index to get.\n\n### ProjectId\n\n public string ProjectId { get; set; }\n\nProject ID against which to make the request."]]