Firestore Admin v1 API - Enum Database.Types.ConcurrencyMode (3.10.0)

public enum Database.Types.ConcurrencyMode

Reference documentation and code samples for the Firestore Admin v1 API enum Database.Types.ConcurrencyMode.

The type of concurrency control mode for transactions.

Namespace

Google.Cloud.Firestore.Admin.V1

Assembly

Google.Cloud.Firestore.Admin.V1.dll

Fields

Name Description
Optimistic

Use optimistic concurrency control by default. This mode is available for Cloud Firestore databases.

OptimisticWithEntityGroups

Use optimistic concurrency control with entity groups by default.

This is the only available mode for Cloud Datastore.

This mode is also available for Cloud Firestore with Datastore Mode but is not recommended.

Pessimistic

Use pessimistic concurrency control by default. This mode is available for Cloud Firestore databases.

This is the default setting for Cloud Firestore.

Unspecified

Not used.