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

The response for Datastore.Commit.

Attributes

  • commitTime (type: DateTime.t, default: nil) - The transaction commit timestamp. Not set for non-transactional commits.
  • indexUpdates (type: integer(), default: nil) - The number of index entries updated during the commit, or zero if none were updated.
  • mutationResults (type: list(GoogleApi.Datastore.V1.Model.MutationResult.t), default: nil) - The result of performing the mutations. The i-th mutation result corresponds to the i-th mutation in the request.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Datastore.V1.Model.CommitResponse{
  commitTime: DateTime.t() | nil,
  indexUpdates: integer() | nil,
  mutationResults: [GoogleApi.Datastore.V1.Model.MutationResult.t()] | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.