Class BeginTransactionRequest

public sealed class BeginTransactionRequest : IMessage<BeginTransactionRequest>, IEquatable<BeginTransactionRequest>, IDeepCloneable<BeginTransactionRequest>, IBufferMessage, IMessage

The request for [BeginTransaction][google.spanner.v1.Spanner.BeginTransaction].

Inheritance

Object > BeginTransactionRequest

Namespace

Google.Cloud.Spanner.V1

Assembly

Google.Cloud.Spanner.V1.dll

Constructors

BeginTransactionRequest()

public BeginTransactionRequest()

BeginTransactionRequest(BeginTransactionRequest)

public BeginTransactionRequest(BeginTransactionRequest other)
Parameter
NameDescription
otherBeginTransactionRequest

Properties

Options

public TransactionOptions Options { get; set; }

Required. Options for the new transaction.

Property Value
TypeDescription
TransactionOptions

RequestOptions

public RequestOptions RequestOptions { get; set; }

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.

Property Value
TypeDescription
RequestOptions

Session

public string Session { get; set; }

Required. The session in which the transaction runs.

Property Value
TypeDescription
String

SessionAsSessionName

public SessionName SessionAsSessionName { get; set; }

SessionName-typed view over the Session resource name property.

Property Value
TypeDescription
SessionName