GoogleApi.Spanner.V1.Model.CommitResponse (google_api_spanner v0.48.0)

View Source

The response for Commit.

Attributes

  • commitStats (type: GoogleApi.Spanner.V1.Model.CommitStats.t, default: nil) - The statistics about this Commit. Not returned by default. For more information, see CommitRequest.return_commit_stats.
  • commitTimestamp (type: DateTime.t, default: nil) - The Cloud Spanner timestamp at which the transaction committed.
  • precommitToken (type: GoogleApi.Spanner.V1.Model.MultiplexedSessionPrecommitToken.t, default: nil) - If specified, transaction has not committed yet. You must retry the commit with the new precommit token.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Spanner.V1.Model.CommitResponse{
  commitStats: GoogleApi.Spanner.V1.Model.CommitStats.t() | nil,
  commitTimestamp: DateTime.t() | nil,
  precommitToken:
    GoogleApi.Spanner.V1.Model.MultiplexedSessionPrecommitToken.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.