3.19.0 (latest) 3.18.0 3.17.0 3.16.0 3.15.0 3.14.0 3.13.0 3.12.0 3.11.0 3.10.0 3.9.0 3.8.0 3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.4.0 2.3.0 2.2.0

    public sealed class Index.Types.IndexField : IMessage<Index.Types.IndexField>, IEquatable<Index.Types.IndexField>, IDeepCloneable<Index.Types.IndexField>, IBufferMessage, IMessage

Reference documentation and code samples for the Firestore Admin v1 API class Index.Types.IndexField.

A field in an index.
The field_path describes which field is indexed, the value_mode describes
how the field value is indexed.

## Inheritance

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

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[Index](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.Admin.V1/latest/Google.Cloud.Firestore.Admin.V1.Index.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.Admin.V1/latest/Google.Cloud.Firestore.Admin.V1.Index.Types.md.txt)[IndexField](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.Admin.V1/latest/Google.Cloud.Firestore.Admin.V1.Index.Types.IndexField.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Index](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.Admin.V1/latest/Google.Cloud.Firestore.Admin.V1.Index.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.Admin.V1/latest/Google.Cloud.Firestore.Admin.V1.Index.Types.md.txt)[IndexField](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.Admin.V1/latest/Google.Cloud.Firestore.Admin.V1.Index.Types.IndexField.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[Index](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.Admin.V1/latest/Google.Cloud.Firestore.Admin.V1.Index.md.txt)[Types](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.Admin.V1/latest/Google.Cloud.Firestore.Admin.V1.Index.Types.md.txt)[IndexField](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.Admin.V1/latest/Google.Cloud.Firestore.Admin.V1.Index.Types.IndexField.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.Firestore.Admin.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.Admin.V1/latest/Google.Cloud.Firestore.Admin.V1.md.txt)

## Assembly

Google.Cloud.Firestore.Admin.V1.dll

## Constructors

### IndexField()

    public IndexField()

### IndexField(IndexField)

    public IndexField(Index.Types.IndexField other)

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

## Properties

### ArrayConfig

    public Index.Types.IndexField.Types.ArrayConfig ArrayConfig { get; set; }

Indicates that this field supports operations on `array_value`s.

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

### FieldPath

    public string FieldPath { get; set; }

Can be **name**.
For single field indexes, this must match the name of the field or may
be omitted.

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

### HasArrayConfig

    public bool HasArrayConfig { get; }

Gets whether the "array_config" field is set

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

### HasOrder

    public bool HasOrder { get; }

Gets whether the "order" field is set

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

### Order

    public Index.Types.IndexField.Types.Order Order { get; set; }

Indicates that this field supports ordering by the specified order or
comparing using =, !=, \<, \<=, \>, \>=.

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

### SearchConfig

    public Index.Types.IndexField.Types.SearchConfig SearchConfig { get; set; }

Indicates that this field supports search operations. This field
is only currently supported for indexes with MONGODB_COMPATIBLE_API
ApiScope.

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

### ValueModeCase

    public Index.Types.IndexField.ValueModeOneofCase ValueModeCase { get; }

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

### VectorConfig

    public Index.Types.IndexField.Types.VectorConfig VectorConfig { get; set; }

Indicates that this field supports nearest neighbor and distance
operations on vector.

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