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

The response for Datastore.RunQuery.

Attributes

  • batch (type: GoogleApi.Datastore.V1.Model.QueryResultBatch.t, default: nil) - A batch of query results (always present).
  • explainMetrics (type: GoogleApi.Datastore.V1.Model.ExplainMetrics.t, default: nil) - Query explain metrics. This is only present when the RunQueryRequest.explain_options is provided, and it is sent only once with the last response in the stream.
  • query (type: GoogleApi.Datastore.V1.Model.Query.t, default: nil) - The parsed form of the GqlQuery from the request, if it was set.
  • transaction (type: String.t, default: nil) - The identifier of the transaction that was started as part of this RunQuery request. Set only when ReadOptions.new_transaction was set in RunQueryRequest.read_options.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Datastore.V1.Model.RunQueryResponse{
  batch: GoogleApi.Datastore.V1.Model.QueryResultBatch.t() | nil,
  explainMetrics: GoogleApi.Datastore.V1.Model.ExplainMetrics.t() | nil,
  query: GoogleApi.Datastore.V1.Model.Query.t() | nil,
  transaction: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.