public sealed class BeginTransactionRequest : IMessage<BeginTransactionRequest>, IEquatable<BeginTransactionRequest>, IDeepCloneable<BeginTransactionRequest>, IBufferMessage, IMessageThe 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 |
|
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 | |
|---|---|
| Type | Description |
RequestOptions |
|
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 |
|