2.5.0 (latest) 2.4.0 2.3.0 2.2.0 2.1.0 2.0.0 1.4.0 1.3.0 1.2.0 1.1.0

    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\].

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> CreateIndexRequest

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[CreateIndexRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/latest/Google.Cloud.Datastore.Admin.V1.CreateIndexRequest.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[CreateIndexRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/latest/Google.Cloud.Datastore.Admin.V1.CreateIndexRequest.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[CreateIndexRequest](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/latest/Google.Cloud.Datastore.Admin.V1.CreateIndexRequest.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Datastore.Admin.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Datastore.Admin.V1/latest/Google.Cloud.Datastore.Admin.V1.md.txt)

## Assembly

Google.Cloud.Datastore.Admin.V1.dll

## Constructors

### CreateIndexRequest()

    public CreateIndexRequest()

### CreateIndexRequest(CreateIndexRequest)

    public CreateIndexRequest(CreateIndexRequest other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `CreateIndexRequest` |

## Properties

### Index

    public Index Index { get; set; }

The index to create. The name and state fields are output only and will be
ignored. Single property indexes cannot be created or deleted.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `Index` |   |

### ProjectId

    public string ProjectId { get; set; }

Project ID against which to make the request.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |