Google Cloud Spanner v1 API - Class BeginTransactionRequest (4.3.0)

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

Reference documentation and code samples for the Google Cloud Spanner v1 API class BeginTransactionRequest.

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

Inheritance

object > BeginTransactionRequest

Namespace

GoogleGoogle.CloudGoogle.Cloud.SpannerV1

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