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.0

    public sealed class FirestoreClientImpl : FirestoreClient

Reference documentation and code samples for the Firestore v1 API class FirestoreClientImpl.

Firestore client wrapper implementation, for convenient use.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> [FirestoreClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient) \> FirestoreClientImpl

## Inherited Members

[FirestoreClient.DefaultEndpoint](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_DefaultEndpoint) [FirestoreClient.DefaultScopes](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_DefaultScopes) [FirestoreClient.ServiceMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_ServiceMetadata) [FirestoreClient.CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_CreateAsync_System_Threading_CancellationToken_) [FirestoreClient.Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_Create) [FirestoreClient.ShutdownDefaultChannelsAsync()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_ShutdownDefaultChannelsAsync) [FirestoreClient.GetDocumentAsync(GetDocumentRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_GetDocumentAsync_Google_Cloud_Firestore_V1_GetDocumentRequest_System_Threading_CancellationToken_) [FirestoreClient.UpdateDocumentAsync(UpdateDocumentRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_UpdateDocumentAsync_Google_Cloud_Firestore_V1_UpdateDocumentRequest_System_Threading_CancellationToken_) [FirestoreClient.UpdateDocument(Document, DocumentMask, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_UpdateDocument_Google_Cloud_Firestore_V1_Document_Google_Cloud_Firestore_V1_DocumentMask_Google_Api_Gax_Grpc_CallSettings_) [FirestoreClient.UpdateDocumentAsync(Document, DocumentMask, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_UpdateDocumentAsync_Google_Cloud_Firestore_V1_Document_Google_Cloud_Firestore_V1_DocumentMask_Google_Api_Gax_Grpc_CallSettings_) [FirestoreClient.UpdateDocumentAsync(Document, DocumentMask, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_UpdateDocumentAsync_Google_Cloud_Firestore_V1_Document_Google_Cloud_Firestore_V1_DocumentMask_System_Threading_CancellationToken_) [FirestoreClient.DeleteDocumentAsync(DeleteDocumentRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_DeleteDocumentAsync_Google_Cloud_Firestore_V1_DeleteDocumentRequest_System_Threading_CancellationToken_) [FirestoreClient.DeleteDocument(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_DeleteDocument_System_String_Google_Api_Gax_Grpc_CallSettings_) [FirestoreClient.DeleteDocumentAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_DeleteDocumentAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [FirestoreClient.DeleteDocumentAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_DeleteDocumentAsync_System_String_System_Threading_CancellationToken_) [FirestoreClient.BeginTransactionAsync(BeginTransactionRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_BeginTransactionAsync_Google_Cloud_Firestore_V1_BeginTransactionRequest_System_Threading_CancellationToken_) [FirestoreClient.BeginTransaction(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_BeginTransaction_System_String_Google_Api_Gax_Grpc_CallSettings_) [FirestoreClient.BeginTransactionAsync(string, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_BeginTransactionAsync_System_String_Google_Api_Gax_Grpc_CallSettings_) [FirestoreClient.BeginTransactionAsync(string, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_BeginTransactionAsync_System_String_System_Threading_CancellationToken_) [FirestoreClient.CommitAsync(CommitRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_CommitAsync_Google_Cloud_Firestore_V1_CommitRequest_System_Threading_CancellationToken_) [FirestoreClient.Commit(string, IEnumerable\<Write\>, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_Commit_System_String_System_Collections_Generic_IEnumerable_Google_Cloud_Firestore_V1_Write__Google_Api_Gax_Grpc_CallSettings_) [FirestoreClient.CommitAsync(string, IEnumerable\<Write\>, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_CommitAsync_System_String_System_Collections_Generic_IEnumerable_Google_Cloud_Firestore_V1_Write__Google_Api_Gax_Grpc_CallSettings_) [FirestoreClient.CommitAsync(string, IEnumerable\<Write\>, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_CommitAsync_System_String_System_Collections_Generic_IEnumerable_Google_Cloud_Firestore_V1_Write__System_Threading_CancellationToken_) [FirestoreClient.RollbackAsync(RollbackRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_RollbackAsync_Google_Cloud_Firestore_V1_RollbackRequest_System_Threading_CancellationToken_) [FirestoreClient.Rollback(string, ByteString, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_Rollback_System_String_Google_Protobuf_ByteString_Google_Api_Gax_Grpc_CallSettings_) [FirestoreClient.RollbackAsync(string, ByteString, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_RollbackAsync_System_String_Google_Protobuf_ByteString_Google_Api_Gax_Grpc_CallSettings_) [FirestoreClient.RollbackAsync(string, ByteString, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_RollbackAsync_System_String_Google_Protobuf_ByteString_System_Threading_CancellationToken_) [FirestoreClient.ListCollectionIds(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_ListCollectionIds_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [FirestoreClient.ListCollectionIdsAsync(string, string, int?, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_ListCollectionIdsAsync_System_String_System_String_System_Nullable_System_Int32__Google_Api_Gax_Grpc_CallSettings_) [FirestoreClient.BatchWriteAsync(BatchWriteRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_BatchWriteAsync_Google_Cloud_Firestore_V1_BatchWriteRequest_System_Threading_CancellationToken_) [FirestoreClient.CreateDocumentAsync(CreateDocumentRequest, CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_CreateDocumentAsync_Google_Cloud_Firestore_V1_CreateDocumentRequest_System_Threading_CancellationToken_) [FirestoreClient.Settings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_Settings) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

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

## Assembly

Google.Cloud.Firestore.V1.dll

## Remarks

The Cloud Firestore service.

Cloud Firestore is a fast, fully managed, serverless, cloud-native NoSQL
document database that simplifies storing, syncing, and querying data for
your mobile, web, and IoT apps at global scale. Its client libraries provide
live synchronization and offline support, while its security features and
integrations with Firebase and Google Cloud Platform accelerate building
truly serverless apps.

## Constructors

### FirestoreClientImpl(FirestoreClient, FirestoreSettings, ILogger)

    public FirestoreClientImpl(Firestore.FirestoreClient grpcClient, FirestoreSettings settings, ILogger logger)

Constructs a client wrapper for the Firestore service, with the specified gRPC client and settings.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `grpcClient` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.Firestorehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.Firestore.FirestoreClient` The underlying gRPC client. |
| `settings` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreSettings` The base [FirestoreSettings](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreSettings) used within this client. |
| `logger` | `https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger` Optional [ILogger](https://learn.microsoft.com/dotnet/api/microsoft.extensions.logging.ilogger) to use within this client. |

## Fields

### ResourcePrefixHeader

    [Obsolete("This header is obsolete; x-goog-request-params should now be used instead. This constant will be removed in a future version")]
    public const string ResourcePrefixHeader = "google-cloud-resource-prefix"

The name of the header used for efficiently routing requests.

| **Field Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

**Remarks** This should be set to the database resource name ("projects/{projectId}/databases/{databaseId}") for any RPC.
For non-streaming calls, [FirestoreClientImpl](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClientImpl) performs this automatically. This cannot be performed
automatically for streaming calls due to the separation between initializing the stream and sending requests, so
client code should set the value in a [CallSettings](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html). Typically this is performed with either the
[FromHeader(string, string)](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html#Google_Api_Gax_Grpc_CallSettings_FromHeader_System_String_System_String_) factory method or the
[WithHeader(CallSettings, string, string)](https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettingsExtensions.html#Google_Api_Gax_Grpc_CallSettingsExtensions_WithHeader_Google_Api_Gax_Grpc_CallSettings_System_String_System_String_) extension method.

## Properties

### GrpcClient

    public override Firestore.FirestoreClient GrpcClient { get; }

The underlying gRPC Firestore client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.Firestorehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.Firestore.FirestoreClient` |   |

**Overrides** [FirestoreClient.GrpcClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_GrpcClient)

### LocationsClient

    public override LocationsClient LocationsClient { get; }

The [LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.LocationsClient.html) associated with this client.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Location/latest/Google.Cloud.Location.LocationsClient.html` |   |

**Overrides** [FirestoreClient.LocationsClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_LocationsClient)

## Methods

### BatchGetDocuments(BatchGetDocumentsRequest, CallSettings)

    public override FirestoreClient.BatchGetDocumentsStream BatchGetDocuments(BatchGetDocumentsRequest request, CallSettings callSettings = null)

Gets multiple documents.

Documents returned by this method are not guaranteed to be returned in the
same order that they were requested.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.BatchGetDocumentsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClienthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient.BatchGetDocumentsStream` | The server stream. |

**Overrides** [FirestoreClient.BatchGetDocuments(BatchGetDocumentsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_BatchGetDocuments_Google_Cloud_Firestore_V1_BatchGetDocumentsRequest_Google_Api_Gax_Grpc_CallSettings_)

### BatchWrite(BatchWriteRequest, CallSettings)

    public override BatchWriteResponse BatchWrite(BatchWriteRequest request, CallSettings callSettings = null)

Applies a batch of write operations.

The BatchWrite method does not apply the write operations atomically
and can apply them out of order. Method does not allow more than one write
per document. Each write succeeds or fails independently. See the
\[BatchWriteResponse\]\[google.firestore.v1.BatchWriteResponse\] for the
success status of each write.

If you require an atomically applied set of writes, use
\[Commit\]\[google.firestore.v1.Firestore.Commit\] instead.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.BatchWriteRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.BatchWriteResponse` | The RPC response. |

**Overrides** [FirestoreClient.BatchWrite(BatchWriteRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_BatchWrite_Google_Cloud_Firestore_V1_BatchWriteRequest_Google_Api_Gax_Grpc_CallSettings_)

### BatchWriteAsync(BatchWriteRequest, CallSettings)

    public override Task<BatchWriteResponse> BatchWriteAsync(BatchWriteRequest request, CallSettings callSettings = null)

Applies a batch of write operations.

The BatchWrite method does not apply the write operations atomically
and can apply them out of order. Method does not allow more than one write
per document. Each write succeeds or fails independently. See the
\[BatchWriteResponse\]\[google.firestore.v1.BatchWriteResponse\] for the
success status of each write.

If you require an atomically applied set of writes, use
\[Commit\]\[google.firestore.v1.Firestore.Commit\] instead.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.BatchWriteRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.BatchWriteResponse` | A Task containing the RPC response. |

**Overrides** [FirestoreClient.BatchWriteAsync(BatchWriteRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_BatchWriteAsync_Google_Cloud_Firestore_V1_BatchWriteRequest_Google_Api_Gax_Grpc_CallSettings_)

### BeginTransaction(BeginTransactionRequest, CallSettings)

    public override BeginTransactionResponse BeginTransaction(BeginTransactionRequest request, CallSettings callSettings = null)

Starts a new transaction.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.BeginTransactionRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.BeginTransactionResponse` | The RPC response. |

**Overrides** [FirestoreClient.BeginTransaction(BeginTransactionRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_BeginTransaction_Google_Cloud_Firestore_V1_BeginTransactionRequest_Google_Api_Gax_Grpc_CallSettings_)

### BeginTransactionAsync(BeginTransactionRequest, CallSettings)

    public override Task<BeginTransactionResponse> BeginTransactionAsync(BeginTransactionRequest request, CallSettings callSettings = null)

Starts a new transaction.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.BeginTransactionRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.BeginTransactionResponse` | A Task containing the RPC response. |

**Overrides** [FirestoreClient.BeginTransactionAsync(BeginTransactionRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_BeginTransactionAsync_Google_Cloud_Firestore_V1_BeginTransactionRequest_Google_Api_Gax_Grpc_CallSettings_)

### Commit(CommitRequest, CallSettings)

    public override CommitResponse Commit(CommitRequest request, CallSettings callSettings = null)

Commits a transaction, while optionally updating documents.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.CommitRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.CommitResponse` | The RPC response. |

**Overrides** [FirestoreClient.Commit(CommitRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_Commit_Google_Cloud_Firestore_V1_CommitRequest_Google_Api_Gax_Grpc_CallSettings_)

### CommitAsync(CommitRequest, CallSettings)

    public override Task<CommitResponse> CommitAsync(CommitRequest request, CallSettings callSettings = null)

Commits a transaction, while optionally updating documents.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.CommitRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.CommitResponse` | A Task containing the RPC response. |

**Overrides** [FirestoreClient.CommitAsync(CommitRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_CommitAsync_Google_Cloud_Firestore_V1_CommitRequest_Google_Api_Gax_Grpc_CallSettings_)

### CreateDocument(CreateDocumentRequest, CallSettings)

    public override Document CreateDocument(CreateDocumentRequest request, CallSettings callSettings = null)

Creates a new document.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.CreateDocumentRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.Document` | The RPC response. |

**Overrides** [FirestoreClient.CreateDocument(CreateDocumentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_CreateDocument_Google_Cloud_Firestore_V1_CreateDocumentRequest_Google_Api_Gax_Grpc_CallSettings_)

### CreateDocumentAsync(CreateDocumentRequest, CallSettings)

    public override Task<Document> CreateDocumentAsync(CreateDocumentRequest request, CallSettings callSettings = null)

Creates a new document.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.CreateDocumentRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.Document` | A Task containing the RPC response. |

**Overrides** [FirestoreClient.CreateDocumentAsync(CreateDocumentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_CreateDocumentAsync_Google_Cloud_Firestore_V1_CreateDocumentRequest_Google_Api_Gax_Grpc_CallSettings_)

### DeleteDocument(DeleteDocumentRequest, CallSettings)

    public override void DeleteDocument(DeleteDocumentRequest request, CallSettings callSettings = null)

Deletes a document.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.DeleteDocumentRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

**Overrides** [FirestoreClient.DeleteDocument(DeleteDocumentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_DeleteDocument_Google_Cloud_Firestore_V1_DeleteDocumentRequest_Google_Api_Gax_Grpc_CallSettings_)

### DeleteDocumentAsync(DeleteDocumentRequest, CallSettings)

    public override Task DeleteDocumentAsync(DeleteDocumentRequest request, CallSettings callSettings = null)

Deletes a document.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.DeleteDocumentRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task` | A Task containing the RPC response. |

**Overrides** [FirestoreClient.DeleteDocumentAsync(DeleteDocumentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_DeleteDocumentAsync_Google_Cloud_Firestore_V1_DeleteDocumentRequest_Google_Api_Gax_Grpc_CallSettings_)

### ExecutePipeline(ExecutePipelineRequest, CallSettings)

    public override FirestoreClient.ExecutePipelineStream ExecutePipeline(ExecutePipelineRequest request, CallSettings callSettings = null)

Executes a pipeline query.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.ExecutePipelineRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClienthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient.ExecutePipelineStream` | The server stream. |

**Overrides** [FirestoreClient.ExecutePipeline(ExecutePipelineRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_ExecutePipeline_Google_Cloud_Firestore_V1_ExecutePipelineRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetDocument(GetDocumentRequest, CallSettings)

    public override Document GetDocument(GetDocumentRequest request, CallSettings callSettings = null)

Gets a single document.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.GetDocumentRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.Document` | The RPC response. |

**Overrides** [FirestoreClient.GetDocument(GetDocumentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_GetDocument_Google_Cloud_Firestore_V1_GetDocumentRequest_Google_Api_Gax_Grpc_CallSettings_)

### GetDocumentAsync(GetDocumentRequest, CallSettings)

    public override Task<Document> GetDocumentAsync(GetDocumentRequest request, CallSettings callSettings = null)

Gets a single document.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.GetDocumentRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.Document` | A Task containing the RPC response. |

**Overrides** [FirestoreClient.GetDocumentAsync(GetDocumentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_GetDocumentAsync_Google_Cloud_Firestore_V1_GetDocumentRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListCollectionIds(ListCollectionIdsRequest, CallSettings)

    public override PagedEnumerable<ListCollectionIdsResponse, string> ListCollectionIds(ListCollectionIdsRequest request, CallSettings callSettings = null)

Lists all the collection IDs underneath a document.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.ListCollectionIdsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.ListCollectionIdsResponsehttps://learn.microsoft.com/dotnet/api/system.string` | A pageable sequence of [string](https://learn.microsoft.com/dotnet/api/system.string) resources. |

**Overrides** [FirestoreClient.ListCollectionIds(ListCollectionIdsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_ListCollectionIds_Google_Cloud_Firestore_V1_ListCollectionIdsRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListCollectionIdsAsync(ListCollectionIdsRequest, CallSettings)

    public override PagedAsyncEnumerable<ListCollectionIdsResponse, string> ListCollectionIdsAsync(ListCollectionIdsRequest request, CallSettings callSettings = null)

Lists all the collection IDs underneath a document.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.ListCollectionIdsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.ListCollectionIdsResponsehttps://learn.microsoft.com/dotnet/api/system.string` | A pageable asynchronous sequence of [string](https://learn.microsoft.com/dotnet/api/system.string) resources. |

**Overrides** [FirestoreClient.ListCollectionIdsAsync(ListCollectionIdsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_ListCollectionIdsAsync_Google_Cloud_Firestore_V1_ListCollectionIdsRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListDocuments(ListDocumentsRequest, CallSettings)

    public override PagedEnumerable<ListDocumentsResponse, Document> ListDocuments(ListDocumentsRequest request, CallSettings callSettings = null)

Lists documents.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.ListDocumentsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.ListDocumentsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.Document` | A pageable sequence of [Document](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.Document) resources. |

**Overrides** [FirestoreClient.ListDocuments(ListDocumentsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_ListDocuments_Google_Cloud_Firestore_V1_ListDocumentsRequest_Google_Api_Gax_Grpc_CallSettings_)

### ListDocumentsAsync(ListDocumentsRequest, CallSettings)

    public override PagedAsyncEnumerable<ListDocumentsResponse, Document> ListDocumentsAsync(ListDocumentsRequest request, CallSettings callSettings = null)

Lists documents.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.ListDocumentsRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.ListDocumentsResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.Document` | A pageable asynchronous sequence of [Document](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.Document) resources. |

**Overrides** [FirestoreClient.ListDocumentsAsync(ListDocumentsRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_ListDocumentsAsync_Google_Cloud_Firestore_V1_ListDocumentsRequest_Google_Api_Gax_Grpc_CallSettings_)

### Listen(CallSettings, BidirectionalStreamingSettings)

    public override FirestoreClient.ListenStream Listen(CallSettings callSettings = null, BidirectionalStreamingSettings streamingSettings = null)

Listens to changes. This method is only available via gRPC or WebChannel
(not REST).

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |
| `streamingSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.BidirectionalStreamingSettings.html` If not null, applies streaming overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClienthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient.ListenStream` | The client-server stream. |

**Overrides** [FirestoreClient.Listen(CallSettings, BidirectionalStreamingSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_Listen_Google_Api_Gax_Grpc_CallSettings_Google_Api_Gax_Grpc_BidirectionalStreamingSettings_)

### PartitionQuery(PartitionQueryRequest, CallSettings)

    public override PagedEnumerable<PartitionQueryResponse, Cursor> PartitionQuery(PartitionQueryRequest request, CallSettings callSettings = null)

Partitions a query by returning partition cursors that can be used to run
the query in parallel. The returned partition cursors are split points that
can be used by RunQuery as starting/end points for the query results.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.PartitionQueryRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.PartitionQueryResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.Cursor` | A pageable sequence of [Cursor](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.Cursor) resources. |

**Overrides** [FirestoreClient.PartitionQuery(PartitionQueryRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_PartitionQuery_Google_Cloud_Firestore_V1_PartitionQueryRequest_Google_Api_Gax_Grpc_CallSettings_)

### PartitionQueryAsync(PartitionQueryRequest, CallSettings)

    public override PagedAsyncEnumerable<PartitionQueryResponse, Cursor> PartitionQueryAsync(PartitionQueryRequest request, CallSettings callSettings = null)

Partitions a query by returning partition cursors that can be used to run
the query in parallel. The returned partition cursors are split points that
can be used by RunQuery as starting/end points for the query results.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.PartitionQueryRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.PagedAsyncEnumerable-2.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.PartitionQueryResponsehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.Cursor` | A pageable asynchronous sequence of [Cursor](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.Cursor) resources. |

**Overrides** [FirestoreClient.PartitionQueryAsync(PartitionQueryRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_PartitionQueryAsync_Google_Cloud_Firestore_V1_PartitionQueryRequest_Google_Api_Gax_Grpc_CallSettings_)

### Rollback(RollbackRequest, CallSettings)

    public override void Rollback(RollbackRequest request, CallSettings callSettings = null)

Rolls back a transaction.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.RollbackRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

**Overrides** [FirestoreClient.Rollback(RollbackRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_Rollback_Google_Cloud_Firestore_V1_RollbackRequest_Google_Api_Gax_Grpc_CallSettings_)

### RollbackAsync(RollbackRequest, CallSettings)

    public override Task RollbackAsync(RollbackRequest request, CallSettings callSettings = null)

Rolls back a transaction.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.RollbackRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task` | A Task containing the RPC response. |

**Overrides** [FirestoreClient.RollbackAsync(RollbackRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_RollbackAsync_Google_Cloud_Firestore_V1_RollbackRequest_Google_Api_Gax_Grpc_CallSettings_)

### RunAggregationQuery(RunAggregationQueryRequest, CallSettings)

    public override FirestoreClient.RunAggregationQueryStream RunAggregationQuery(RunAggregationQueryRequest request, CallSettings callSettings = null)

Runs an aggregation query.

Rather than producing \[Document\]\[google.firestore.v1.Document\] results like
\[Firestore.RunQuery\]\[google.firestore.v1.Firestore.RunQuery\], this API
allows running an aggregation to produce a series of
\[AggregationResult\]\[google.firestore.v1.AggregationResult\] server-side.

High-Level Example:

    -- Return the number of documents in table given a filter.
    SELECT COUNT(*) FROM ( SELECT * FROM k where a = true );

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.RunAggregationQueryRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClienthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient.RunAggregationQueryStream` | The server stream. |

**Overrides** [FirestoreClient.RunAggregationQuery(RunAggregationQueryRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_RunAggregationQuery_Google_Cloud_Firestore_V1_RunAggregationQueryRequest_Google_Api_Gax_Grpc_CallSettings_)

### RunQuery(RunQueryRequest, CallSettings)

    public override FirestoreClient.RunQueryStream RunQuery(RunQueryRequest request, CallSettings callSettings = null)

Runs a query.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.RunQueryRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClienthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient.RunQueryStream` | The server stream. |

**Overrides** [FirestoreClient.RunQuery(RunQueryRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_RunQuery_Google_Cloud_Firestore_V1_RunQueryRequest_Google_Api_Gax_Grpc_CallSettings_)

### UpdateDocument(UpdateDocumentRequest, CallSettings)

    public override Document UpdateDocument(UpdateDocumentRequest request, CallSettings callSettings = null)

Updates or inserts a document.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.UpdateDocumentRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.Document` | The RPC response. |

**Overrides** [FirestoreClient.UpdateDocument(UpdateDocumentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_UpdateDocument_Google_Cloud_Firestore_V1_UpdateDocumentRequest_Google_Api_Gax_Grpc_CallSettings_)

### UpdateDocumentAsync(UpdateDocumentRequest, CallSettings)

    public override Task<Document> UpdateDocumentAsync(UpdateDocumentRequest request, CallSettings callSettings = null)

Updates or inserts a document.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.UpdateDocumentRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.Document` | A Task containing the RPC response. |

**Overrides** [FirestoreClient.UpdateDocumentAsync(UpdateDocumentRequest, CallSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_UpdateDocumentAsync_Google_Cloud_Firestore_V1_UpdateDocumentRequest_Google_Api_Gax_Grpc_CallSettings_)

### Write(CallSettings, BidirectionalStreamingSettings)

    public override FirestoreClient.WriteStream Write(CallSettings callSettings = null, BidirectionalStreamingSettings streamingSettings = null)

Streams batches of document updates and deletes, in order. This method is
only available via gRPC or WebChannel (not REST).

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |
| `streamingSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.BidirectionalStreamingSettings.html` If not null, applies streaming overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClienthttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient.WriteStream` | The client-server stream. |

**Overrides** [FirestoreClient.Write(CallSettings, BidirectionalStreamingSettings)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.FirestoreClient#Google_Cloud_Firestore_V1_FirestoreClient_Write_Google_Api_Gax_Grpc_CallSettings_Google_Api_Gax_Grpc_BidirectionalStreamingSettings_)