public sealed class DocumentProcessingConfig : IMessage<DocumentProcessingConfig>, IEquatable<DocumentProcessingConfig>, IDeepCloneable<DocumentProcessingConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Discovery Engine v1 API class DocumentProcessingConfig.
A singleton resource of
[DataStore][google.cloud.discoveryengine.v1.DataStore]. If it's empty when
[DataStore][google.cloud.discoveryengine.v1.DataStore] is created and
[DataStore][google.cloud.discoveryengine.v1.DataStore] is set to
[DataStore.ContentConfig.CONTENT_REQUIRED][google.cloud.discoveryengine.v1.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\u003eThis page provides documentation for the \u003ccode\u003eDocumentProcessingConfig\u003c/code\u003e class within the Google Cloud Discovery Engine v1 API, with the latest version being 1.6.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eDocumentProcessingConfig\u003c/code\u003e class is a singleton resource for \u003ccode\u003eDataStore\u003c/code\u003e and supports methods for creating an object, cloning, and also 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\u003e\u003ccode\u003eDocumentProcessingConfig\u003c/code\u003e allows configuration of document parsing, including a \u003ccode\u003eDefaultParsingConfig\u003c/code\u003e and \u003ccode\u003eParsingConfigOverrides\u003c/code\u003e for specific file types like PDF, HTML, DOCX, PPTX, XLSM, and XLSX.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eDocumentProcessingConfig\u003c/code\u003e has properties to configure document parsing such as \u003ccode\u003eChunkingConfig\u003c/code\u003e and also references the \u003ccode\u003eDocumentProcessingConfigName\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe full resource name of the \u003ccode\u003eDocumentProcessingConfig\u003c/code\u003e follows the format: \u003ccode\u003eprojects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,["# Discovery Engine v1 API - Class DocumentProcessingConfig (1.9.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.9.0 (latest)](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.DocumentProcessingConfig)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.8.0/Google.Cloud.DiscoveryEngine.V1.DocumentProcessingConfig)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.7.0/Google.Cloud.DiscoveryEngine.V1.DocumentProcessingConfig)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.6.0/Google.Cloud.DiscoveryEngine.V1.DocumentProcessingConfig)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.5.0/Google.Cloud.DiscoveryEngine.V1.DocumentProcessingConfig)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.4.0/Google.Cloud.DiscoveryEngine.V1.DocumentProcessingConfig)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.3.0/Google.Cloud.DiscoveryEngine.V1.DocumentProcessingConfig)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.2.0/Google.Cloud.DiscoveryEngine.V1.DocumentProcessingConfig)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.1.0/Google.Cloud.DiscoveryEngine.V1.DocumentProcessingConfig)\n- [1.0.0-beta06](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/1.0.0-beta06/Google.Cloud.DiscoveryEngine.V1.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 v1 API class DocumentProcessingConfig.\n\nA singleton resource of\n\\[DataStore\\]\\[google.cloud.discoveryengine.v1.DataStore\\]. If it's empty when\n\\[DataStore\\]\\[google.cloud.discoveryengine.v1.DataStore\\] is created and\n\\[DataStore\\]\\[google.cloud.discoveryengine.v1.DataStore\\] is set to\n\\[DataStore.ContentConfig.CONTENT_REQUIRED\\]\\[google.cloud.discoveryengine.v1.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.V1/latest/Google.Cloud.DiscoveryEngine.V1.DocumentProcessingConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DocumentProcessingConfig](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.DocumentProcessingConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DocumentProcessingConfig](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.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.V1](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.DiscoveryEngine.V1.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.V1/latest/Google.Cloud.DiscoveryEngine.V1.DocumentProcessingConfigName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.DocumentProcessingConfig#Google_Cloud_DiscoveryEngine_V1_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."]]