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 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.
|
mutation_key |
google.cloud.spanner_v1.types.Mutation
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. |