public enum Index.Types.Density
Reference documentation and code samples for the Firestore Admin v1 API enum Index.Types.Density.
The density configuration for the index.
Namespace
Google.Cloud.Firestore.Admin.V1Assembly
Google.Cloud.Firestore.Admin.V1.dll
Fields |
|
---|---|
Name | Description |
Dense |
An index entry will be added regardless of whether the document contains any of the fields specified in the index. Non-existent fields are treated as having a NULL value when generating index entries. |
SparseAll |
In order for an index entry to be added, the document must contain all fields specified in the index. This is the only allowed value for indexes having ApiScope |
SparseAny |
In order for an index entry to be added, the document must contain at least one of the fields specified in the index. Non-existent fields are treated as having a NULL value when generating index entries. |
Unspecified |
Unspecified. It will use database default setting. This value is input only. |