The [Document][google.cloud.discoveryengine.v1beta.Document] resource
full name, of the form:
projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/branches/{branch_id}/documents/{document_id}
[[["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\u003eThe \u003ccode\u003eDocumentInfo\u003c/code\u003e class is part of the Google Cloud Discovery Engine v1beta API, providing detailed document information for user events.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and 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.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDocumentInfo\u003c/code\u003e includes properties like \u003ccode\u003eDocumentName\u003c/code\u003e, \u003ccode\u003eId\u003c/code\u003e, \u003ccode\u003eName\u003c/code\u003e, \u003ccode\u003eQuantity\u003c/code\u003e, and \u003ccode\u003eUri\u003c/code\u003e to describe specific details of a document.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eQuantity\u003c/code\u003e property indicates the number of a specific document involved in a user event and is required for \u003ccode\u003eadd-to-cart\u003c/code\u003e and \u003ccode\u003epurchase\u003c/code\u003e events.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eJoined\u003c/code\u003e property is an output-only field indicating whether a specific document can be found in the data store.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1beta API - Class DocumentInfo (1.0.0-beta19)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0-beta19 (latest)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DocumentInfo)\n- [1.0.0-beta18](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/1.0.0-beta18/Google.Cloud.DiscoveryEngine.V1Beta.DocumentInfo) \n\n public sealed class DocumentInfo : IMessage\u003cDocumentInfo\u003e, IEquatable\u003cDocumentInfo\u003e, IDeepCloneable\u003cDocumentInfo\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Discovery Engine v1beta API class DocumentInfo.\n\nDetailed document information associated with a user event. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e DocumentInfo \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DocumentInfo](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DocumentInfo), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DocumentInfo](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DocumentInfo), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DocumentInfo](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DocumentInfo), [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.DiscoveryEngine.V1Beta](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta)\n\nAssembly\n--------\n\nGoogle.Cloud.DiscoveryEngine.V1Beta.dll\n\nConstructors\n------------\n\n### DocumentInfo()\n\n public DocumentInfo()\n\n### DocumentInfo(DocumentInfo)\n\n public DocumentInfo(DocumentInfo other)\n\nProperties\n----------\n\n### DocumentDescriptorCase\n\n public DocumentInfo.DocumentDescriptorOneofCase DocumentDescriptorCase { get; }\n\n### DocumentName\n\n public DocumentName DocumentName { get; set; }\n\n[DocumentName](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DocumentName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DocumentInfo#Google_Cloud_DiscoveryEngine_V1Beta_DocumentInfo_Name) resource name property.\n\n### HasId\n\n public bool HasId { get; }\n\nGets whether the \"id\" field is set\n\n### HasName\n\n public bool HasName { get; }\n\nGets whether the \"name\" field is set\n\n### HasQuantity\n\n public bool HasQuantity { get; }\n\nGets whether the \"quantity\" field is set\n\n### HasUri\n\n public bool HasUri { get; }\n\nGets whether the \"uri\" field is set\n\n### Id\n\n public string Id { get; set; }\n\nThe \\[Document\\]\\[google.cloud.discoveryengine.v1beta.Document\\] resource ID.\n\n### Joined\n\n public bool Joined { get; set; }\n\nOutput only. Whether the referenced Document can be found in the data\nstore.\n\n### Name\n\n public string Name { get; set; }\n\nThe \\[Document\\]\\[google.cloud.discoveryengine.v1beta.Document\\] resource\nfull name, of the form:\n`projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/branches/{branch_id}/documents/{document_id}`\n\n### PromotionIds\n\n public RepeatedField\u003cstring\u003e PromotionIds { get; }\n\nThe promotion IDs associated with this Document.\nCurrently, this field is restricted to at most one ID.\n\n### Quantity\n\n public int Quantity { get; set; }\n\nQuantity of the Document associated with the user event. Defaults to 1.\n\nFor example, this field is 2 if two quantities of the same Document\nare involved in a `add-to-cart` event.\n\nRequired for events of the following event types:\n\n- `add-to-cart`\n- `purchase`\n\n### Uri\n\n public string Uri { get; set; }\n\nThe \\[Document\\]\\[google.cloud.discoveryengine.v1beta.Document\\] URI - only\nallowed for website data stores."]]