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
Implements
IMessageIndexTypesIndexFieldTypesVectorConfig, IEquatableIndexTypesIndexFieldTypesVectorConfig, IDeepCloneableIndexTypesIndexFieldTypesVectorConfig, IBufferMessage, IMessageNamespace
Google.Cloud.Firestore.Admin.V1Assembly
Google.Cloud.Firestore.Admin.V1.dll
Constructors
VectorConfig()
public VectorConfig()
VectorConfig(VectorConfig)
public VectorConfig(Index.Types.IndexField.Types.VectorConfig other)
Parameter | |
---|---|
Name | Description |
other |
IndexTypesIndexFieldTypesVectorConfig |
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 | |
---|---|
Type | Description |
int |
Flat
public Index.Types.IndexField.Types.VectorConfig.Types.FlatIndex Flat { get; set; }
Indicates the vector index is a flat index.
Property Value | |
---|---|
Type | Description |
IndexTypesIndexFieldTypesVectorConfigTypesFlatIndex |
TypeCase
public Index.Types.IndexField.Types.VectorConfig.TypeOneofCase TypeCase { get; }
Property Value | |
---|---|
Type | Description |
IndexTypesIndexFieldTypesVectorConfigTypeOneofCase |