View Source GoogleApi.Datastore.V1.Model.LookupResponse (google_api_datastore v0.22.0)

The response for Datastore.Lookup.

Attributes

  • deferred (type: list(GoogleApi.Datastore.V1.Model.Key.t), default: nil) - A list of keys that were not looked up due to resource constraints. The order of results in this field is undefined and has no relation to the order of the keys in the input.
  • found (type: list(GoogleApi.Datastore.V1.Model.EntityResult.t), default: nil) - Entities found as ResultType.FULL entities. The order of results in this field is undefined and has no relation to the order of the keys in the input.
  • missing (type: list(GoogleApi.Datastore.V1.Model.EntityResult.t), default: nil) - Entities not found as ResultType.KEY_ONLY entities. The order of results in this field is undefined and has no relation to the order of the keys in the input.
  • readTime (type: DateTime.t, default: nil) - The time at which these entities were read or found missing.
  • transaction (type: String.t, default: nil) - The identifier of the transaction that was started as part of this Lookup request. Set only when ReadOptions.new_transaction was set in LookupRequest.read_options.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Datastore.V1.Model.LookupResponse{
  deferred: [GoogleApi.Datastore.V1.Model.Key.t()] | nil,
  found: [GoogleApi.Datastore.V1.Model.EntityResult.t()] | nil,
  missing: [GoogleApi.Datastore.V1.Model.EntityResult.t()] | nil,
  readTime: DateTime.t() | nil,
  transaction: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.