View Source GoogleApi.Spanner.V1.Model.BeginTransactionRequest (google_api_spanner v0.38.0)

The request for BeginTransaction.

Attributes

  • 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 will not 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

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

Functions

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

Unwrap a decoded JSON object into its complex fields.