Cloud Firestore Admin V1 API - Module Google::Cloud::Firestore::Admin::V1::Database::ConcurrencyMode (v1.12.1)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Cloud Firestore Admin V1 API module Google::Cloud::Firestore::Admin::V1::Database::ConcurrencyMode.
The type of concurrency control mode for transactions.
Constants
CONCURRENCY_MODE_UNSPECIFIED
value: 0 Not used.
OPTIMISTIC
value: 1 Use optimistic concurrency control by default. This mode is available
for Cloud Firestore databases.
This is the default setting for Cloud Firestore Enterprise Edition
databases.
PESSIMISTIC
value: 2 Use pessimistic concurrency control by default. This mode is available
for Cloud Firestore databases.
This is the default setting for Cloud Firestore Standard Edition
databases.
OPTIMISTIC_WITH_ENTITY_GROUPS
value: 3 Use optimistic concurrency control with entity groups by default.
This mode is enabled for some databases that were automatically upgraded
from Cloud Datastore to Cloud Firestore with Datastore Mode.
It is not recommended for any new databases, and not supported for
Firestore Native databases.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-04-03 UTC."],[],[]]