public sealed class Precondition : IMessage<Precondition>, IEquatable<Precondition>, IDeepCloneable<Precondition>, IBufferMessage, IMessageA precondition on a document, used for conditional operations.
Implements
IMessage<Precondition>, IEquatable<Precondition>, IDeepCloneable<Precondition>, IBufferMessage, IMessageNamespace
Google.Cloud.Firestore.V1Assembly
Google.Cloud.Firestore.V1.dll
Constructors
Precondition()
public Precondition()Precondition(Precondition)
public Precondition(Precondition other)| Parameter | |
|---|---|
| Name | Description |
other |
Precondition |
Properties
ConditionTypeCase
public Precondition.ConditionTypeOneofCase ConditionTypeCase { get; }| Property Value | |
|---|---|
| Type | Description |
Precondition.ConditionTypeOneofCase |
|
Exists
public bool Exists { get; set; }When set to true, the target document must exist.
When set to false, the target document must not exist.
| Property Value | |
|---|---|
| Type | Description |
Boolean |
|
UpdateTime
public Timestamp UpdateTime { get; set; }When set, the target document must exist and have been last updated at that time.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|