Class TransactionOptions
Options for beginning a new transaction. Transactions can be created explicitly with calls to Datastore.BeginTransaction or implicitly by setting ReadOptions.new_transaction in read requests.
Implements
Inherited Members
Namespace: Google.Apis.Datastore.v1.Data
Assembly: Google.Apis.Datastore.v1.dll
Syntax
public class TransactionOptions : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
ReadOnly__
The transaction should only allow reads.
Declaration
[JsonProperty("readOnly")]
public virtual ReadOnly ReadOnly__ { get; set; }
Property Value
Type | Description |
---|---|
ReadOnly |
ReadWrite
The transaction should allow both reads and writes.
Declaration
[JsonProperty("readWrite")]
public virtual ReadWrite ReadWrite { get; set; }
Property Value
Type | Description |
---|---|
ReadWrite |