4.6.0 (latest) 4.5.0 4.4.0 4.3.0 4.2.0 4.1.0 4.0.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.1 3.4.0 3.3.0 3.2.0 3.1.0 3.0.0 2.5.0 2.4.0 2.3.1

## Classes

### [AggregateField](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.AggregateField)

Represents a single aggregation within an [AggregateQuery](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.AggregateQuery).

### [AggregateQuery](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.AggregateQuery)

A query for running server-side aggregations. Instances of this can be created using
[Count()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.Query#Google_Cloud_Firestore_Query_Count) and [Aggregate(AggregateField, params AggregateField\[\])](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.Query#Google_Cloud_Firestore_Query_Aggregate_Google_Cloud_Firestore_AggregateField_Google_Cloud_Firestore_AggregateField___).

### [AggregateQuerySnapshot](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.AggregateQuerySnapshot)

An immutable snapshot of aggregate query results.

### [CollectionReference](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.CollectionReference)

A reference to a collection in a Firestore database. The existence of
this object does not imply that the collection currently exists in storage.

### [ConverterRegistry](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.ConverterRegistry)

Registry of custom converters. This is used to avoid requiring Firestore-specific attributes on types
which may be intended to be non-Firestore-specific. The registry may be specified when creating a [FirestoreDb](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.FirestoreDb)
via [ConverterRegistry](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.FirestoreDbBuilder#Google_Cloud_Firestore_FirestoreDbBuilder_ConverterRegistry).

### [DocumentChange](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.DocumentChange)

A DocumentChange represents a change to the documents matching a query. It contains the document
affected and a the type of change that occurred (added, modifed, or removed).

### [DocumentReference](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.DocumentReference)

A reference to a document in a Firestore database. The existence of
this object does not imply that the document currently exists in storage.

### [DocumentSnapshot](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.DocumentSnapshot)

An immutable snapshot of the data for a document.

### [ExplainOptions](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.ExplainOptions)

Options for query explanations.

### [ExplainResults\<T\>](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.ExplainResults-1)

Information about planning, execution, and results of a query.

### [FieldMask](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.FieldMask)

An immutable set of field paths, used to limit the data returned by calls to
[GetAllSnapshotsAsync(IEnumerable\<DocumentReference\>, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.FirestoreDb#Google_Cloud_Firestore_FirestoreDb_GetAllSnapshotsAsync_System_Collections_Generic_IEnumerable_Google_Cloud_Firestore_DocumentReference__System_Threading_CancellationToken_)
and similar calls.

### [FieldPath](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.FieldPath)

An immutable path of field names, used to identify parts of a document.

### [FieldValue](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.FieldValue)

A static class providing properties and methods to represent sentinel values.
Sentinel values are special values where the client-side value is not part of the
document modification sent to the server. A property decorated with
[FirestorePropertyAttribute](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.FirestorePropertyAttribute) can specify an additional attribute
to indicate that it's a sentinel value, such as a[ServerTimestampAttribute](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.ServerTimestampAttribute),
or the sentinel values returned by the members of this class can be used directly as
values to be serialized (for example, in anonymous types), and they will be handled
directly by the serialization mechanism.

### [Filter](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.Filter)

A holder for any type of filter.

### [FirestoreChangeListener](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.FirestoreChangeListener)

An ongoing "listen" or "watch" operation on either document or query snapshots.
This is returned from `Listen` methods.

### [FirestoreDataAttribute](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.FirestoreDataAttribute)

Attribute indicating that a type is intended to be used with Firestore.

### [FirestoreDb](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.FirestoreDb)

A Firestore database. Create instances using the static [Create(string, FirestoreClient)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.FirestoreDb#Google_Cloud_Firestore_FirestoreDb_Create_System_String_Google_Cloud_Firestore_V1_FirestoreClient_) and [CreateAsync(string, FirestoreClient)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.FirestoreDb#Google_Cloud_Firestore_FirestoreDb_CreateAsync_System_String_Google_Cloud_Firestore_V1_FirestoreClient_)
methods, or using a [FirestoreDbBuilder](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.FirestoreDbBuilder).

### [FirestoreDbBuilder](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.FirestoreDbBuilder)

Builder class for [FirestoreDb](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.FirestoreDb), providing simple configuration of credentials,
endpoint, project ID etc.

### [FirestoreDeserializationConfigurationAttribute](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.FirestoreDeserializationConfigurationAttribute)

Provides additional information for how Firestore converters (types implementing [IFirestoreConverter\<T\>](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.IFirestoreConverter-1))
should be called during deserialization.

### [FirestoreDocumentCreateTimestampAttribute](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.FirestoreDocumentCreateTimestampAttribute)

Attribute indicating that a property should be populated with the creation timestamp from a Firestore document snapshot.

### [FirestoreDocumentIdAttribute](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.FirestoreDocumentIdAttribute)

Attribute indicating that a property should be populated with the Firestore document ID.

### [FirestoreDocumentReadTimestampAttribute](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.FirestoreDocumentReadTimestampAttribute)

Attribute indicating that a property should be populated with the read timestamp from a Firestore document snapshot.

### [FirestoreDocumentUpdateTimestampAttribute](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.FirestoreDocumentUpdateTimestampAttribute)

Attribute indicating that a property should be populated with the update timestamp from a Firestore document snapshot.

### [FirestoreEnumNameConverter\<T\>](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.FirestoreEnumNameConverter-1)

Custom converter which uses enum value names instead of integer values as the Firestore representation.
This converter is not used by default; it must be configured in the same way as any other custom converter.

### [FirestorePropertyAttribute](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.FirestorePropertyAttribute)

Attribute indicating that a property should be included in Firestore conversions.

### [Precondition](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.Precondition)

Immutable class representing a precondition for an update operation.

### [Query](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.Query)

A query against a collection.

### [QuerySnapshot](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.QuerySnapshot)

An immutable snapshot of complete query results.

### [ServerTimestampAttribute](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.ServerTimestampAttribute)

Attribute indicating that the value of the property within the .NET object should be ignored
when creating or modifying a document. Instead, the server time of the commit that creates
or modifies the document is automatically used to populate the value in the Firestore document.

### [SetOptions](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.SetOptions)

Immutable class representing options for Set operations.

### [Transaction](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.Transaction)

A transaction, as created by
[RunTransactionAsync\<T\>(Func\<Transaction, Task\<T\>\>, TransactionOptions, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.FirestoreDb#Google_Cloud_Firestore_FirestoreDb_RunTransactionAsync__1_System_Func_Google_Cloud_Firestore_Transaction_System_Threading_Tasks_Task___0___Google_Cloud_Firestore_TransactionOptions_System_Threading_CancellationToken_)
(and overloads) and passed to user code.

### [TransactionOptions](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.TransactionOptions)

Immutable class representing options for executing transactions.

### [WriteBatch](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.WriteBatch)

A batch of write operations, to be applied in a single commit.

### [WriteResult](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.WriteResult)

The result of a write operation, in terms of the server's update time.

## Structs

### [Blob](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.Blob)

An immutable sequence of bytes.

### [GeoPoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.GeoPoint)

Immutable struct representing a geographic location in Firestore.

### [Timestamp](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.Timestamp)

A nanosecond-precision immutable timestamp. When this is stored as part of a document in Firestore,
it is truncated to the microsecond, towards the start of time.

## Interfaces

### [IFirestoreConverter\<T\>](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.IFirestoreConverter-1)

Custom converter used during serialization and deserialization.

### [IFirestoreTypeDiscriminator\<T\>](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.IFirestoreTypeDiscriminator-1)

Type discriminator used during deserialization when a value should be
deserialized to one of multiple types sharing a common ancestor (typically
an abstract class or an interface) based on the document data for the value.

## Enums

### [DocumentChange.Type](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.DocumentChange.Type)

An enumeration of snapshot change types.

### [UnknownPropertyHandling](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore/latest/Google.Cloud.Firestore.UnknownPropertyHandling)

Determines how unknown properties are handling when deserializing a
Firestore document.