public sealed class DocumentChange : IMessage<DocumentChange>, IEquatable<DocumentChange>, IDeepCloneable<DocumentChange>, IBufferMessage, IMessageReference documentation and code samples for the Firestore v1 API class DocumentChange.
A [Document][google.firestore.v1.Document] has changed.
May be the result of multiple [writes][google.firestore.v1.Write], including deletes, that ultimately resulted in a new value for the [Document][google.firestore.v1.Document].
Multiple [DocumentChange][google.firestore.v1.DocumentChange] messages may be returned for the same logical change, if multiple targets are affected.
Implements
IMessageDocumentChange, IEquatableDocumentChange, IDeepCloneableDocumentChange, IBufferMessage, IMessageNamespace
Google.Cloud.Firestore.V1Assembly
Google.Cloud.Firestore.V1.dll
Constructors
DocumentChange()
public DocumentChange()DocumentChange(DocumentChange)
public DocumentChange(DocumentChange other)| Parameter | |
|---|---|
| Name | Description |
other |
DocumentChange |
Properties
Document
public Document Document { get; set; }The new state of the [Document][google.firestore.v1.Document].
If mask is set, contains only fields that were updated or added.
| Property Value | |
|---|---|
| Type | Description |
Document |
|
RemovedTargetIds
public RepeatedField<int> RemovedTargetIds { get; }A set of target IDs for targets that no longer match this document.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldint |
|
TargetIds
public RepeatedField<int> TargetIds { get; }A set of target IDs of targets that match this document.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldint |
|