Cloud Firestore V1 API - Module Google::Cloud::Firestore::V1::TransactionOptions::ConcurrencyMode (v2.4.0)
Stay organized with collections
Save and categorize content based on your preferences.
Reference documentation and code samples for the Cloud Firestore V1 API module Google::Cloud::Firestore::V1::TransactionOptions::ConcurrencyMode.
The type of concurrency control mode for transactions.
Constants
CONCURRENCY_MODE_UNSPECIFIED
value: 0 Start the transaction with the database-level default concurrency mode.
OPTIMISTIC
value: 1 Use optimistic concurrency control for the new transaction.
PESSIMISTIC
value: 2 Use pessimistic concurrency control for the new transaction.
[[["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-06-11 UTC."],[],[]]