Class BeginTransactionRequest (3.50.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.
mutation_key google.cloud.spanner_v1.types.Mutation
Optional. Required for read-write transactions on a multiplexed session that commit mutations but do not perform any reads or queries. Clients should randomly select one of the mutations from the mutation set and send it as a part of this request. This feature is not yet supported and will result in an UNIMPLEMENTED error.