EntityResult

The result of fetching an entity from Datastore.

JSON representation
{
  "entity": {
    object (Entity)
  },
  "version": string,
  "createTime": string,
  "updateTime": 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.

createTime

string (Timestamp format)

The time at which the entity was created. This field is set for FULL entity results. If this entity is missing, this field will not be set.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

updateTime

string (Timestamp format)

The time at which the entity was last changed. This field is set for FULL entity results. If this entity is missing, this field will not be set.

A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

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.