public sealed class Target.Types.DocumentsTarget : IMessage<Target.Types.DocumentsTarget>, IEquatable<Target.Types.DocumentsTarget>, IDeepCloneable<Target.Types.DocumentsTarget>, IBufferMessage, IMessage
Reference documentation and code samples for the Firestore v1 API class Target.Types.DocumentsTarget.
The names of the documents to retrieve. In the format:
projects/{project_id}/databases/{database_id}/documents/{document_path}.
The request will fail if any of the document is not a child resource of
the given database. Duplicate names will be elided.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage provides reference documentation for the \u003ccode\u003eTarget.Types.DocumentsTarget\u003c/code\u003e class within the Firestore v1 API, detailing its purpose as a target specified by document names.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTarget.Types.DocumentsTarget\u003c/code\u003e class is a sealed class that implements multiple interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe page lists different versions of the Firestore API, ranging from version 2.3.0 to the latest version 3.10.0, each with a link to their respective documentation.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eTarget.Types.DocumentsTarget\u003c/code\u003e has two constructors, \u003ccode\u003eDocumentsTarget()\u003c/code\u003e and \u003ccode\u003eDocumentsTarget(Target.Types.DocumentsTarget other)\u003c/code\u003e, and one property, \u003ccode\u003eDocuments\u003c/code\u003e, which contains the document names to be retrieved.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDocuments\u003c/code\u003e property returns a \u003ccode\u003eRepeatedField<string>\u003c/code\u003e containing the document names, in the format of \u003ccode\u003eprojects/{project_id}/databases/{database_id}/documents/{document_path}\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Firestore v1 API - Class Target.Types.DocumentsTarget (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.Target.Types.DocumentsTarget)\n- [3.9.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.9.0/Google.Cloud.Firestore.V1.Target.Types.DocumentsTarget)\n- [3.8.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.8.0/Google.Cloud.Firestore.V1.Target.Types.DocumentsTarget)\n- [3.7.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.7.0/Google.Cloud.Firestore.V1.Target.Types.DocumentsTarget)\n- [3.6.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.6.0/Google.Cloud.Firestore.V1.Target.Types.DocumentsTarget)\n- [3.5.1](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.5.1/Google.Cloud.Firestore.V1.Target.Types.DocumentsTarget)\n- [3.4.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.4.0/Google.Cloud.Firestore.V1.Target.Types.DocumentsTarget)\n- [3.3.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.3.0/Google.Cloud.Firestore.V1.Target.Types.DocumentsTarget)\n- [3.2.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.2.0/Google.Cloud.Firestore.V1.Target.Types.DocumentsTarget)\n- [3.1.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.1.0/Google.Cloud.Firestore.V1.Target.Types.DocumentsTarget)\n- [3.0.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/3.0.0/Google.Cloud.Firestore.V1.Target.Types.DocumentsTarget)\n- [2.5.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/2.5.0/Google.Cloud.Firestore.V1.Target.Types.DocumentsTarget)\n- [2.4.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/2.4.0/Google.Cloud.Firestore.V1.Target.Types.DocumentsTarget)\n- [2.3.0](/dotnet/docs/reference/Google.Cloud.Firestore.V1/2.3.0/Google.Cloud.Firestore.V1.Target.Types.DocumentsTarget) \n\n public sealed class Target.Types.DocumentsTarget : IMessage\u003cTarget.Types.DocumentsTarget\u003e, IEquatable\u003cTarget.Types.DocumentsTarget\u003e, IDeepCloneable\u003cTarget.Types.DocumentsTarget\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Firestore v1 API class Target.Types.DocumentsTarget.\n\nA target specified by a set of documents names. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e Target.Types.DocumentsTarget \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[Target](/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.Target)[Types](/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.Target.Types)[DocumentsTarget](/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.Target.Types.DocumentsTarget), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[Target](/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.Target)[Types](/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.Target.Types)[DocumentsTarget](/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.Target.Types.DocumentsTarget), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[Target](/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.Target)[Types](/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.Target.Types)[DocumentsTarget](/dotnet/docs/reference/Google.Cloud.Firestore.V1/latest/Google.Cloud.Firestore.V1.Target.Types.DocumentsTarget), [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### DocumentsTarget()\n\n public DocumentsTarget()\n\n### DocumentsTarget(DocumentsTarget)\n\n public DocumentsTarget(Target.Types.DocumentsTarget other)\n\nProperties\n----------\n\n### Documents\n\n public RepeatedField\u003cstring\u003e Documents { get; }\n\nThe names of the documents to retrieve. In the format:\n`projects/{project_id}/databases/{database_id}/documents/{document_path}`.\nThe request will fail if any of the document is not a child resource of\nthe given `database`. Duplicate names will be elided."]]