View Source GoogleApi.Spanner.V1.Model.MultiplexedSessionPrecommitToken (google_api_spanner v0.44.0)

When a read-write transaction is executed on a multiplexed session, this precommit token is sent back to the client as a part of the [Transaction] message in the BeginTransaction response and also as a part of the [ResultSet] and [PartialResultSet] responses.

Attributes

  • precommitToken (type: String.t, default: nil) - Opaque precommit token.
  • seqNum (type: integer(), default: nil) - An incrementing seq number is generated on every precommit token that is returned. Clients should remember the precommit token with the highest sequence number from the current transaction attempt.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Spanner.V1.Model.MultiplexedSessionPrecommitToken{
  precommitToken: String.t() | nil,
  seqNum: integer() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.