Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::DocumentProcessingConfig.
A singleton resource of DataStore. It's empty when DataStore is created, which defaults to digital parser. The first call to [DataStoreService.UpdateDocumentProcessingConfig][] method will initialize the config.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#chunking_config
def chunking_config() -> ::Google::Cloud::DiscoveryEngine::V1beta::DocumentProcessingConfig::ChunkingConfig
- (::Google::Cloud::DiscoveryEngine::V1beta::DocumentProcessingConfig::ChunkingConfig) — Whether chunking mode is enabled.
#chunking_config=
def chunking_config=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::DocumentProcessingConfig::ChunkingConfig
- value (::Google::Cloud::DiscoveryEngine::V1beta::DocumentProcessingConfig::ChunkingConfig) — Whether chunking mode is enabled.
- (::Google::Cloud::DiscoveryEngine::V1beta::DocumentProcessingConfig::ChunkingConfig) — Whether chunking mode is enabled.
#default_parsing_config
def default_parsing_config() -> ::Google::Cloud::DiscoveryEngine::V1beta::DocumentProcessingConfig::ParsingConfig
- (::Google::Cloud::DiscoveryEngine::V1beta::DocumentProcessingConfig::ParsingConfig) — 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.
#default_parsing_config=
def default_parsing_config=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::DocumentProcessingConfig::ParsingConfig
- value (::Google::Cloud::DiscoveryEngine::V1beta::DocumentProcessingConfig::ParsingConfig) — 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.
- (::Google::Cloud::DiscoveryEngine::V1beta::DocumentProcessingConfig::ParsingConfig) — 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.
#name
def name() -> ::String
-
(::String) — The full resource name of the Document Processing Config.
Format:
projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig
.
#name=
def name=(value) -> ::String
-
value (::String) — The full resource name of the Document Processing Config.
Format:
projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig
.
-
(::String) — The full resource name of the Document Processing Config.
Format:
projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig
.
#parsing_config_overrides
def parsing_config_overrides() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::DiscoveryEngine::V1beta::DocumentProcessingConfig::ParsingConfig}
-
(::Google::Protobuf::Map{::String => ::Google::Cloud::DiscoveryEngine::V1beta::DocumentProcessingConfig::ParsingConfig}) —
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.
#parsing_config_overrides=
def parsing_config_overrides=(value) -> ::Google::Protobuf::Map{::String => ::Google::Cloud::DiscoveryEngine::V1beta::DocumentProcessingConfig::ParsingConfig}
-
value (::Google::Protobuf::Map{::String => ::Google::Cloud::DiscoveryEngine::V1beta::DocumentProcessingConfig::ParsingConfig}) —
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.
-
(::Google::Protobuf::Map{::String => ::Google::Cloud::DiscoveryEngine::V1beta::DocumentProcessingConfig::ParsingConfig}) —
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.