Cloud Datastore V1 Client - Class Mode (1.22.1)

Reference documentation and code samples for the Cloud Datastore V1 Client class Mode.

The modes available for commits.

Protobuf type google.datastore.v1.CommitRequest.Mode

Namespace

Google \ Cloud \ Datastore \ V1 \ CommitRequest

Methods

static::name

Parameter
NameDescription
value mixed

static::value

Parameter
NameDescription
name mixed

Constants

MODE_UNSPECIFIED

Value: 0

Unspecified. This value must not be used.

Generated from protobuf enum MODE_UNSPECIFIED = 0;

TRANSACTIONAL

Value: 1

Transactional: The mutations are either all applied, or none are applied.

Learn about transactions here.

Generated from protobuf enum TRANSACTIONAL = 1;

NON_TRANSACTIONAL

Value: 2

Non-transactional: The mutations may not apply as all or none.

Generated from protobuf enum NON_TRANSACTIONAL = 2;