Google Cloud Datastore Admin V1 Client - Class ConcurrencyMode (0.5.8)

Reference documentation and code samples for the Google Cloud Datastore Admin V1 Client class ConcurrencyMode.

Concurrency modes for transactions in Cloud Firestore.

Protobuf type google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode

Methods

name

Parameter
NameDescription
value mixed

value

Parameter
NameDescription
name mixed

Constants

CONCURRENCY_MODE_UNSPECIFIED

Value: 0

Unspecified.

Generated from protobuf enum CONCURRENCY_MODE_UNSPECIFIED = 0;

PESSIMISTIC

Value: 1

Pessimistic concurrency.

Generated from protobuf enum PESSIMISTIC = 1;

OPTIMISTIC

Value: 2

Optimistic concurrency.

Generated from protobuf enum OPTIMISTIC = 2;

OPTIMISTIC_WITH_ENTITY_GROUPS

Value: 3

Optimistic concurrency with entity groups.

Generated from protobuf enum OPTIMISTIC_WITH_ENTITY_GROUPS = 3;