Class BeginTransactionRequest (3.46.0)

BeginTransactionRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The request for BeginTransaction][google.spanner.v1.Spanner.BeginTransaction].

Attributes

Name Description
session str
Required. The session in which the transaction runs.
options google.cloud.spanner_v1.types.TransactionOptions
Required. Options for the new transaction.
request_options google.cloud.spanner_v1.types.RequestOptions
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.