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

View Source

The request for BeginTransaction.

Attributes

  • mutationKey (type: GoogleApi.Spanner.V1.Model.Mutation.t, default: nil) - Optional. Required for read-write transactions on a multiplexed session that commit mutations but don't perform any reads or queries. You must randomly select one of the mutations from the mutation set and send it as a part of this request.
  • options (type: GoogleApi.Spanner.V1.Model.TransactionOptions.t, default: nil) - Required. Options for the new transaction.
  • requestOptions (type: GoogleApi.Spanner.V1.Model.RequestOptions.t, default: nil) - Common options for this request. Priority is ignored for this request. Setting the priority in this request_options struct doesn't do anything. To set the priority for a transaction, set it on the reads and writes that are part of this transaction instead.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Spanner.V1.Model.BeginTransactionRequest{
  mutationKey: GoogleApi.Spanner.V1.Model.Mutation.t() | nil,
  options: GoogleApi.Spanner.V1.Model.TransactionOptions.t() | nil,
  requestOptions: GoogleApi.Spanner.V1.Model.RequestOptions.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.