EntityResult

The result of fetching an entity from Datastore.

JSON representation
{
  "entity": {
    object(Entity)
  },
  "version": string,
  "cursor": string,
}
Fields
entity

object(Entity)

The resulting entity.

version

string (int64 format)

The version of the entity, a strictly positive number that monotonically increases with changes to the entity.

This field is set for FULL entity results.

For missing entities in LookupResponse, this is the version of the snapshot that was used to look up the entity, and it is always set except for eventually consistent reads.

cursor

string (bytes format)

A cursor that points to the position after the result entity. Set only when the EntityResult is part of a QueryResultBatch message.

A base64-encoded string.

Monitor your resources on the go

Get the Google Cloud Console app to help you manage your projects.

Send feedback about...

Cloud Datastore