BeginTransactionRequest
class BeginTransactionRequest extends Message
The request for [BeginTransaction][google.spanner.v1.Spanner.BeginTransaction].
Protobuf type Google\Spanner\V1\BeginTransactionRequest
Methods
No description
Required. The session in which the transaction runs.
Required. The session in which the transaction runs.
Required. Options for the new transaction.
Details
at line 31
__construct()
at line 42
string
getSession()
Required. The session in which the transaction runs.
Generated from protobuf field string session = 1;
at line 53
setSession(string $var)
Required. The session in which the transaction runs.
Generated from protobuf field string session = 1;
at line 65
TransactionOptions
getOptions()
Required. Options for the new transaction.
Generated from protobuf field .google.spanner.v1.TransactionOptions options = 2;
at line 76
setOptions(TransactionOptions $var)
Required. Options for the new transaction.
Generated from protobuf field .google.spanner.v1.TransactionOptions options = 2;