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.
Map from file type to override the default parsing configuration based on the file type. Supported keys: * *pdf: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported. * *html: Override parsing config for HTML files, only digital parsing and layout parsing are supported. * *docx: Override parsing config for DOCX files, only digital parsing and layout parsing are supported. * *pptx: Override parsing config for PPTX files, only digital parsing and layout parsing are supported. * *xlsm: Override parsing config for XLSM files, only digital parsing and layout parsing are supported. * *xlsx: Override parsing config for XLSX files, only digital parsing and layout parsing are supported.
getName
The full resource name of the Document Processing Config.
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.
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"]],[["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-09-04 UTC."],[],[],null,["# Google Cloud Discovery Engine V1 Client - Class DocumentProcessingConfig (1.7.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.7.0 (latest)](/php/docs/reference/cloud-discoveryengine/latest/V1.DocumentProcessingConfig)\n- [1.6.1](/php/docs/reference/cloud-discoveryengine/1.6.1/V1.DocumentProcessingConfig)\n- [1.5.1](/php/docs/reference/cloud-discoveryengine/1.5.1/V1.DocumentProcessingConfig)\n- [1.4.0](/php/docs/reference/cloud-discoveryengine/1.4.0/V1.DocumentProcessingConfig)\n- [1.3.3](/php/docs/reference/cloud-discoveryengine/1.3.3/V1.DocumentProcessingConfig)\n- [1.2.0](/php/docs/reference/cloud-discoveryengine/1.2.0/V1.DocumentProcessingConfig)\n- [1.1.0](/php/docs/reference/cloud-discoveryengine/1.1.0/V1.DocumentProcessingConfig)\n- [1.0.0](/php/docs/reference/cloud-discoveryengine/1.0.0/V1.DocumentProcessingConfig)\n- [0.11.3](/php/docs/reference/cloud-discoveryengine/0.11.3/V1.DocumentProcessingConfig)\n- [0.8.0](/php/docs/reference/cloud-discoveryengine/0.8.0/V1.DocumentProcessingConfig)\n- [0.7.1](/php/docs/reference/cloud-discoveryengine/0.7.1/V1.DocumentProcessingConfig)\n- [0.6.0](/php/docs/reference/cloud-discoveryengine/0.6.0/V1.DocumentProcessingConfig)\n- [0.5.0](/php/docs/reference/cloud-discoveryengine/0.5.0/V1.DocumentProcessingConfig)\n- [0.4.0](/php/docs/reference/cloud-discoveryengine/0.4.0/V1.DocumentProcessingConfig)\n- [0.3.0](/php/docs/reference/cloud-discoveryengine/0.3.0/V1.DocumentProcessingConfig)\n- [0.2.0](/php/docs/reference/cloud-discoveryengine/0.2.0/V1.DocumentProcessingConfig)\n- [0.1.1](/php/docs/reference/cloud-discoveryengine/0.1.1/V1.DocumentProcessingConfig) \nReference documentation and code samples for the Google Cloud Discovery Engine V1 Client class DocumentProcessingConfig.\n\nA singleton resource of\n[DataStore](/php/docs/reference/cloud-discoveryengine/latest/V1.DataStore). If it's empty when\n[DataStore](/php/docs/reference/cloud-discoveryengine/latest/V1.DataStore) is created and\n[DataStore](/php/docs/reference/cloud-discoveryengine/latest/V1.DataStore) is set to\n[DataStore.ContentConfig.CONTENT_REQUIRED](/php/docs/reference/cloud-discoveryengine/latest/V1.DataStore.ContentConfig#_Google_Cloud_DiscoveryEngine_V1_DataStore_ContentConfig__CONTENT_REQUIRED),\nthe default parser will default to digital parser.\n\nGenerated from protobuf message `google.cloud.discoveryengine.v1.DocumentProcessingConfig`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ DiscoveryEngine \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nThe full resource name of the Document Processing Config.\n\nFormat:\n`projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`.\n\n### setName\n\nThe full resource name of the Document Processing Config.\n\nFormat:\n`projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`.\n\n### getChunkingConfig\n\nWhether chunking mode is enabled.\n\n### hasChunkingConfig\n\n### clearChunkingConfig\n\n### setChunkingConfig\n\nWhether chunking mode is enabled.\n\n### getDefaultParsingConfig\n\nConfigurations for default Document parser.\n\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### hasDefaultParsingConfig\n\n### clearDefaultParsingConfig\n\n### setDefaultParsingConfig\n\nConfigurations for default Document parser.\n\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### getParsingConfigOverrides\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\n parsing or layout parsing is supported.\n\n- `html`: Override parsing config for HTML files, only digital parsing and\n layout parsing are supported.\n\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.\n\n### setParsingConfigOverrides\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\n parsing or layout parsing is supported.\n\n- `html`: Override parsing config for HTML files, only digital parsing and\n layout parsing are supported.\n\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."]]