Cloud Datastore V1 Client - Class Mode (1.26.0)

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
Name
Description
value
mixed

static::value

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

Create a Mobile Website
View Site in Mobile | Classic
Share by: