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 Field.Types.IndexConfig : IMessage<Field.Types.IndexConfig>, IEquatable<Field.Types.IndexConfig>, IDeepCloneable<Field.Types.IndexConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Firestore Admin v1 API class Field.Types.IndexConfig.

The index configuration for this field.

## Inheritance

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

## Implements

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

### IndexConfig()

    public IndexConfig()

### IndexConfig(IndexConfig)

    public IndexConfig(Field.Types.IndexConfig other)

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

## Properties

### AncestorField

    public string AncestorField { get; set; }

Output only. Specifies the resource name of the `Field` from which this
field's index configuration is set (when `uses_ancestor_config` is true),
or from which it *would* be set if this field had no index configuration
(when `uses_ancestor_config` is false).

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

### Indexes

    public RepeatedField<Index> Indexes { get; }

The indexes supported for this field.

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

### Reverting

    public bool Reverting { get; set; }

Output only
When true, the `Field`'s index configuration is in the process of being
reverted. Once complete, the index config will transition to the same
state as the field specified by `ancestor_field`, at which point
`uses_ancestor_config` will be `true` and `reverting` will be `false`.

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

### UsesAncestorConfig

    public bool UsesAncestorConfig { get; set; }

Output only. When true, the `Field`'s index configuration is set from the
configuration specified by the `ancestor_field`.
When false, the `Field`'s index configuration is defined explicitly.

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