public sealed class BeginTransactionRequest : IMessage<BeginTransactionRequest>, IEquatable<BeginTransactionRequest>, IDeepCloneable<BeginTransactionRequest>, IBufferMessage, IMessage
The request for [BeginTransaction][google.spanner.v1.Spanner.BeginTransaction].
Implements
IMessage<BeginTransactionRequest>, IEquatable<BeginTransactionRequest>, IDeepCloneable<BeginTransactionRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.Spanner.V1Assembly
Google.Cloud.Spanner.V1.dll
Constructors
BeginTransactionRequest()
public BeginTransactionRequest()
BeginTransactionRequest(BeginTransactionRequest)
public BeginTransactionRequest(BeginTransactionRequest other)
Parameter | |
---|---|
Name | Description |
other | BeginTransactionRequest |
Properties
Options
public TransactionOptions Options { get; set; }
Required. Options for the new transaction.
Property Value | |
---|---|
Type | Description |
TransactionOptions |
Session
public string Session { get; set; }
Required. The session in which the transaction runs.
Property Value | |
---|---|
Type | Description |
String |
SessionAsSessionName
public SessionName SessionAsSessionName { get; set; }
SessionName-typed view over the Session resource name property.
Property Value | |
---|---|
Type | Description |
SessionName |