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.

이 페이지가 도움이 되었나요? 평가를 부탁드립니다.

다음에 대한 의견 보내기...

Cloud Datastore Documentation