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

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

Namespace

Google \ Cloud \ Datastore \ Admin \ V1 \ MigrationProgressEvent

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
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;