Firestore Admin v1 API - Class Index.Types.IndexField.Types.VectorConfig (3.8.0)

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

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

The index configuration to support vector search operations

Inheritance

object > Index.Types.IndexField.Types.VectorConfig

Namespace

Google.Cloud.Firestore.Admin.V1

Assembly

Google.Cloud.Firestore.Admin.V1.dll

Constructors

VectorConfig()

public VectorConfig()

VectorConfig(VectorConfig)

public VectorConfig(Index.Types.IndexField.Types.VectorConfig other)
Parameter
NameDescription
otherIndexTypesIndexFieldTypesVectorConfig

Properties

Dimension

public int Dimension { get; set; }

Required. The vector dimension this configuration applies to.

The resulting index will only include vectors of this dimension, and can be used for vector search with the same dimension.

Property Value
TypeDescription
int

Flat

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

Indicates the vector index is a flat index.

Property Value
TypeDescription
IndexTypesIndexFieldTypesVectorConfigTypesFlatIndex

TypeCase

public Index.Types.IndexField.Types.VectorConfig.TypeOneofCase TypeCase { get; }
Property Value
TypeDescription
IndexTypesIndexFieldTypesVectorConfigTypeOneofCase