public sealed class DocumentDelete : IMessage<DocumentDelete>, IEquatable<DocumentDelete>, IDeepCloneable<DocumentDelete>, IBufferMessage, IMessage
Reference documentation and code samples for the Firestore v1 API class DocumentDelete.
A [Document][google.firestore.v1.Document] has been deleted.
May be the result of multiple [writes][google.firestore.v1.Write], including
updates, the last of which deleted the
[Document][google.firestore.v1.Document].
Multiple [DocumentDelete][google.firestore.v1.DocumentDelete] messages may be
returned for the same logical delete, if multiple targets are affected.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eDocumentDelete\u003c/code\u003e class within the Google Cloud Firestore V1 API for .NET, detailing its functionality and properties.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDocumentDelete\u003c/code\u003e class represents the deletion of a Firestore document, which can occur due to multiple write operations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDocumentDelete\u003c/code\u003e class implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, and inherits from the \u003ccode\u003eobject\u003c/code\u003e class.\u003c/p\u003e\n"],["\u003cp\u003eThe class provides properties such as \u003ccode\u003eDocument\u003c/code\u003e, which holds the resource name of the deleted document, \u003ccode\u003eReadTime\u003c/code\u003e, which denotes the timestamp of when the delete was observed, and \u003ccode\u003eRemovedTargetIds\u003c/code\u003e, which contains a set of target IDs.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version of the library is 3.10.0, and there are 14 versions of the library listed, with the oldest being version 2.3.0.\u003c/p\u003e\n"]]],[],null,["# Firestore v1 API - Class DocumentDelete (3.10.0)\n\nVersion latestkeyboard_arrow_down\n\n- [3.10.0 (latest)](/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.DocumentDelete)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.9.0/Google.Cloud.Firestore.V1.DocumentDelete)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.8.0/Google.Cloud.Firestore.V1.DocumentDelete)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.7.0/Google.Cloud.Firestore.V1.DocumentDelete)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.6.0/Google.Cloud.Firestore.V1.DocumentDelete)\n- [3.5.1](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.5.1/Google.Cloud.Firestore.V1.DocumentDelete)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.4.0/Google.Cloud.Firestore.V1.DocumentDelete)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.3.0/Google.Cloud.Firestore.V1.DocumentDelete)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.2.0/Google.Cloud.Firestore.V1.DocumentDelete)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.1.0/Google.Cloud.Firestore.V1.DocumentDelete)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.0.0/Google.Cloud.Firestore.V1.DocumentDelete)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/2.5.0/Google.Cloud.Firestore.V1.DocumentDelete)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/2.4.0/Google.Cloud.Firestore.V1.DocumentDelete)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/2.3.0/Google.Cloud.Firestore.V1.DocumentDelete) \n\n public sealed class DocumentDelete : IMessage\u003cDocumentDelete\u003e, IEquatable\u003cDocumentDelete\u003e, IDeepCloneable\u003cDocumentDelete\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Firestore v1 API class DocumentDelete.\n\nA \\[Document\\]\\[google.firestore.v1.Document\\] has been deleted.\n\nMay be the result of multiple \\[writes\\]\\[google.firestore.v1.Write\\], including\nupdates, the last of which deleted the\n\\[Document\\]\\[google.firestore.v1.Document\\].\n\nMultiple \\[DocumentDelete\\]\\[google.firestore.v1.DocumentDelete\\] messages may be\nreturned for the same logical delete, if multiple targets are affected. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e DocumentDelete \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DocumentDelete](/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.DocumentDelete), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DocumentDelete](/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.DocumentDelete), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DocumentDelete](/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.DocumentDelete), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Firestore.V1](/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Firestore.V1.dll\n\nConstructors\n------------\n\n### DocumentDelete()\n\n public DocumentDelete()\n\n### DocumentDelete(DocumentDelete)\n\n public DocumentDelete(DocumentDelete other)\n\nProperties\n----------\n\n### Document\n\n public string Document { get; set; }\n\nThe resource name of the \\[Document\\]\\[google.firestore.v1.Document\\] that was\ndeleted.\n\n### ReadTime\n\n public Timestamp ReadTime { get; set; }\n\nThe read timestamp at which the delete was observed.\n\nGreater or equal to the `commit_time` of the delete.\n\n### RemovedTargetIds\n\n public RepeatedField\u003cint\u003e RemovedTargetIds { get; }\n\nA set of target IDs for targets that previously matched this entity."]]