Class BeginTransactionRequest
The request for BeginTransaction.
Implements
Inherited Members
Namespace: Google.Apis.Spanner.v1.Data
Assembly: Google.Apis.Spanner.v1.dll
Syntax
public class BeginTransactionRequest : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
MutationKey
Optional. Required for read-write transactions on a multiplexed session that commit mutations but do not perform any reads or queries. Clients should randomly select one of the mutations from the mutation set and send it as a part of this request.
Declaration
[JsonProperty("mutationKey")]
public virtual Mutation MutationKey { get; set; }
Property Value
Type | Description |
---|---|
Mutation |
Options
Required. Options for the new transaction.
Declaration
[JsonProperty("options")]
public virtual TransactionOptions Options { get; set; }
Property Value
Type | Description |
---|---|
TransactionOptions |
RequestOptions
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.
Declaration
[JsonProperty("requestOptions")]
public virtual RequestOptions RequestOptions { get; set; }
Property Value
Type | Description |
---|---|
RequestOptions |