Cloud Firestore Admin V1 API - Module Google::Cloud::Firestore::Admin::V1::Database::ConcurrencyMode (v0.4.0)

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 setting is available for Cloud Firestore customers.

PESSIMISTIC

value: 2
Use pessimistic concurrency control by default. This setting is available for Cloud Firestore customers. This is the default setting for Cloud Firestore.

OPTIMISTIC_WITH_ENTITY_GROUPS

value: 3
Use optimistic concurrency control with entity groups by default. This is the only available setting for Cloud Datastore customers. This is the default setting for Cloud Datastore.