Class ReadWrite
Options for a transaction that can be used to read and write documents.
Implements
Inherited Members
Namespace: Google.Apis.Firestore.v1.Data
Assembly: Google.Apis.Firestore.v1.dll
Syntax
public class ReadWrite : IDirectResponseSchema
Properties
ConcurrencyMode
Optional. The concurrency control mode to use for this transaction. A database is able to use different concurrency modes for different transactions simultaneously. 3rd party auth requests are only allowed to create optimistic read-write transactions and must specify that here even if the database-level setting is already configured to optimistic.
Declaration
[JsonProperty("concurrencyMode")]
public virtual string ConcurrencyMode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
RetryTransaction
An optional transaction to retry.
Declaration
[JsonProperty("retryTransaction")]
public virtual string RetryTransaction { get; set; }
Property Value
| Type | Description |
|---|---|
| string |