Class DocumentChange

public sealed class DocumentChange : IMessage<DocumentChange>, IEquatable<DocumentChange>, IDeepCloneable<DocumentChange>, IBufferMessage, IMessage

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.

Inheritance

Object > DocumentChange

Namespace

Google.Cloud.Firestore.V1

Assembly

Google.Cloud.Firestore.V1.dll

Constructors

DocumentChange()

public DocumentChange()

DocumentChange(DocumentChange)

public DocumentChange(DocumentChange other)
Parameter
NameDescription
otherDocumentChange

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
TypeDescription
Document

RemovedTargetIds

public RepeatedField<int> RemovedTargetIds { get; }

A set of target IDs for targets that no longer match this document.

Property Value
TypeDescription
RepeatedField<Int32>

TargetIds

public RepeatedField<int> TargetIds { get; }

A set of target IDs of targets that match this document.

Property Value
TypeDescription
RepeatedField<Int32>