GoogleApi.Datastore.V1.Model.EntityResult (google_api_datastore v0.18.1) View Source

The result of fetching an entity from Datastore.

Attributes

  • cursor (type: String.t, default: nil) - A cursor that points to the position after the result entity. Set only when the EntityResult is part of a QueryResultBatch message.
  • entity (type: GoogleApi.Datastore.V1.Model.Entity.t, default: nil) - The resulting entity.
  • version (type: String.t, default: nil) - 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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Datastore.V1.Model.EntityResult{
  cursor: String.t() | nil,
  entity: GoogleApi.Datastore.V1.Model.Entity.t() | nil,
  version: String.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.