Cloud Datastore V1 Client - Class ServerValue (1.32.2)

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

A value that is calculated by the server.

Protobuf type google.datastore.v1.PropertyTransform.ServerValue

Namespace

Google \ Cloud \ Datastore \ V1 \ PropertyTransform

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

SERVER_VALUE_UNSPECIFIED

Value: 0

Unspecified. This value must not be used.

Generated from protobuf enum SERVER_VALUE_UNSPECIFIED = 0;

REQUEST_TIME

Value: 1

The time at which the server processed the request, with millisecond precision. If used on multiple properties (same or different entities) in a transaction, all the properties will get the same server timestamp.

Generated from protobuf enum REQUEST_TIME = 1;