public sealed class BeginTransactionRequest : IMessage<BeginTransactionRequest>, IEquatable<BeginTransactionRequest>, IDeepCloneable<BeginTransactionRequest>, IBufferMessage, IMessage
The request for [BeginTransaction][google.spanner.v1.Spanner.BeginTransaction].
Implements
Google.Protobuf.IMessage<BeginTransactionRequest>, IEquatable<BeginTransactionRequest>, Google.Protobuf.IDeepCloneable<BeginTransactionRequest>, Google.Protobuf.IBufferMessage, Google.Protobuf.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 |