Cloud Firestore V1 Client - Class ServerValue (1.32.0)

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

A value that is calculated by the server.

Protobuf type google.firestore.v1.DocumentTransform.FieldTransform.ServerValue

Methods

name

Parameter
NameDescription
value mixed

value

Parameter
NameDescription
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 fields (same or different documents) in a transaction, all the fields will get the same server timestamp.

Generated from protobuf enum REQUEST_TIME = 1;