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.
Inheritance
System.Object
TransactionOptions
Implements
Google.Apis.Requests.IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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 |
|---|---|
| System.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 |
Implements
Google.Apis.Requests.IDirectResponseSchema