# Firestore Admin v1 API - Enum Index.Types.QueryScope (3.19.0)

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 enum Index.Types.QueryScope

Reference documentation and code samples for the Firestore Admin v1 API enum Index.Types.QueryScope.

Query Scope defines the scope at which a query is run. This is specified on
a StructuredQuery's `from` field.

## 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)

## Assembly

Google.Cloud.Firestore.Admin.V1.dll

| ## Fields ||
|---|---|
| **Name** | **Description** |
| `Collection` | Indexes with a collection query scope specified allow queries against a collection that is the child of a specific document, specified at query time, and that has the collection ID specified by the index. |
| `CollectionGroup` | Indexes with a collection group query scope specified allow queries against all collections that has the collection ID specified by the index. |
| `CollectionRecursive` | Include all the collections's ancestor in the index. Only available for Datastore Mode databases. |
| `Unspecified` | The query scope is unspecified. Not a valid option. |