public sealed class DocumentProcessingConfig : IMessage<DocumentProcessingConfig>, IEquatable<DocumentProcessingConfig>, IDeepCloneable<DocumentProcessingConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1beta API class DocumentProcessingConfig.
A singleton resource of
[DataStore][google.cloud.discoveryengine.v1beta.DataStore]. If it's empty
when [DataStore][google.cloud.discoveryengine.v1beta.DataStore] is created
and [DataStore][google.cloud.discoveryengine.v1beta.DataStore] is set to
[DataStore.ContentConfig.CONTENT_REQUIRED][google.cloud.discoveryengine.v1beta.DataStore.ContentConfig.CONTENT_REQUIRED],
the default parser will default to digital parser.
public DocumentProcessingConfig.Types.ParsingConfig DefaultParsingConfig { get; set; }
Configurations for default Document parser.
If not specified, we will configure it as default DigitalParsingConfig, and
the default parsing config will be applied to all file types for Document
parsing.
[[["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\u003eDocumentProcessingConfig\u003c/code\u003e class is a singleton resource for data stores in the Discovery Engine v1beta API, and if left empty with \u003ccode\u003eCONTENT_REQUIRED\u003c/code\u003e set, it defaults to a digital parser.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eobject\u003c/code\u003e and implements \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e interfaces, with several inherited members from \u003ccode\u003eobject\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt offers constructors for creating instances, either empty or by copying another \u003ccode\u003eDocumentProcessingConfig\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eKey properties include \u003ccode\u003eChunkingConfig\u003c/code\u003e to enable chunking, \u003ccode\u003eDefaultParsingConfig\u003c/code\u003e to set default parsing configurations, and \u003ccode\u003eParsingConfigOverrides\u003c/code\u003e to customize parsing based on file type (e.g., pdf, html, docx).\u003c/p\u003e\n"],["\u003cp\u003eThe class also contains a \u003ccode\u003eName\u003c/code\u003e property, which is the full resource name of the Document Processing Config, and a \u003ccode\u003eDocumentProcessingConfigName\u003c/code\u003e-typed view of this resource name.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1beta API - Class DocumentProcessingConfig (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.DocumentProcessingConfig)\n- [1.0.0-beta18](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/1.0.0-beta18/Google.Cloud.DiscoveryEngine.V1Beta.DocumentProcessingConfig) \n\n public sealed class DocumentProcessingConfig : IMessage\u003cDocumentProcessingConfig\u003e, IEquatable\u003cDocumentProcessingConfig\u003e, IDeepCloneable\u003cDocumentProcessingConfig\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Discovery Engine v1beta API class DocumentProcessingConfig.\n\nA singleton resource of\n\\[DataStore\\]\\[google.cloud.discoveryengine.v1beta.DataStore\\]. If it's empty\nwhen \\[DataStore\\]\\[google.cloud.discoveryengine.v1beta.DataStore\\] is created\nand \\[DataStore\\]\\[google.cloud.discoveryengine.v1beta.DataStore\\] is set to\n\\[DataStore.ContentConfig.CONTENT_REQUIRED\\]\\[google.cloud.discoveryengine.v1beta.DataStore.ContentConfig.CONTENT_REQUIRED\\],\nthe default parser will default to digital parser. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e DocumentProcessingConfig \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DocumentProcessingConfig](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DocumentProcessingConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DocumentProcessingConfig](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DocumentProcessingConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DocumentProcessingConfig](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DocumentProcessingConfig), [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### DocumentProcessingConfig()\n\n public DocumentProcessingConfig()\n\n### DocumentProcessingConfig(DocumentProcessingConfig)\n\n public DocumentProcessingConfig(DocumentProcessingConfig other)\n\nProperties\n----------\n\n### ChunkingConfig\n\n public DocumentProcessingConfig.Types.ChunkingConfig ChunkingConfig { get; set; }\n\nWhether chunking mode is enabled.\n\n### DefaultParsingConfig\n\n public DocumentProcessingConfig.Types.ParsingConfig DefaultParsingConfig { get; set; }\n\nConfigurations for default Document parser.\nIf not specified, we will configure it as default DigitalParsingConfig, and\nthe default parsing config will be applied to all file types for Document\nparsing.\n\n### DocumentProcessingConfigName\n\n public DocumentProcessingConfigName DocumentProcessingConfigName { get; set; }\n\n[DocumentProcessingConfigName](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DocumentProcessingConfigName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DocumentProcessingConfig#Google_Cloud_DiscoveryEngine_V1Beta_DocumentProcessingConfig_Name) resource name\nproperty.\n\n### Name\n\n public string Name { get; set; }\n\nThe full resource name of the Document Processing Config.\nFormat:\n`projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`.\n\n### ParsingConfigOverrides\n\n public MapField\u003cstring, DocumentProcessingConfig.Types.ParsingConfig\u003e ParsingConfigOverrides { get; }\n\nMap from file type to override the default parsing configuration based on\nthe file type. Supported keys:\n\n- `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported.\n- `html`: Override parsing config for HTML files, only digital parsing and layout parsing are supported.\n- `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported.\n- `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported.\n- `xlsm`: Override parsing config for XLSM files, only digital parsing and layout parsing are supported.\n- `xlsx`: Override parsing config for XLSX files, only digital parsing and layout parsing are supported."]]