google_api_datastore v0.1.0 GoogleApi.Datastore.V1.Model.EntityResult View Source

The result of fetching an entity from Datastore.

Attributes

  • cursor (binary()): A cursor that points to the position after the result entity. Set only when the `EntityResult` is part of a `QueryResultBatch` message. Defaults to: null.
  • entity (Entity): The resulting entity. Defaults to: null.
  • version (String.t): 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. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields

Link to this section Types

Link to this type t() View Source
t() :: %GoogleApi.Datastore.V1.Model.EntityResult{
  cursor: any(),
  entity: GoogleApi.Datastore.V1.Model.Entity.t(),
  version: any()
}

Link to this section Functions

Link to this function decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.