Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::DocumentProcessingConfig::ParsingConfig.
Related configurations applied to a specific type of document parser.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#digital_parsing_config
def digital_parsing_config() -> ::Google::Cloud::DiscoveryEngine::V1::DocumentProcessingConfig::ParsingConfig::DigitalParsingConfig
Returns
- (::Google::Cloud::DiscoveryEngine::V1::DocumentProcessingConfig::ParsingConfig::DigitalParsingConfig) — Configurations applied to digital parser.
#digital_parsing_config=
def digital_parsing_config=(value) -> ::Google::Cloud::DiscoveryEngine::V1::DocumentProcessingConfig::ParsingConfig::DigitalParsingConfig
Parameter
- value (::Google::Cloud::DiscoveryEngine::V1::DocumentProcessingConfig::ParsingConfig::DigitalParsingConfig) — Configurations applied to digital parser.
Returns
- (::Google::Cloud::DiscoveryEngine::V1::DocumentProcessingConfig::ParsingConfig::DigitalParsingConfig) — Configurations applied to digital parser.
#layout_parsing_config
def layout_parsing_config() -> ::Google::Cloud::DiscoveryEngine::V1::DocumentProcessingConfig::ParsingConfig::LayoutParsingConfig
Returns
- (::Google::Cloud::DiscoveryEngine::V1::DocumentProcessingConfig::ParsingConfig::LayoutParsingConfig) — Configurations applied to layout parser.
#layout_parsing_config=
def layout_parsing_config=(value) -> ::Google::Cloud::DiscoveryEngine::V1::DocumentProcessingConfig::ParsingConfig::LayoutParsingConfig
Parameter
- value (::Google::Cloud::DiscoveryEngine::V1::DocumentProcessingConfig::ParsingConfig::LayoutParsingConfig) — Configurations applied to layout parser.
Returns
- (::Google::Cloud::DiscoveryEngine::V1::DocumentProcessingConfig::ParsingConfig::LayoutParsingConfig) — Configurations applied to layout parser.
#ocr_parsing_config
def ocr_parsing_config() -> ::Google::Cloud::DiscoveryEngine::V1::DocumentProcessingConfig::ParsingConfig::OcrParsingConfig
Returns
- (::Google::Cloud::DiscoveryEngine::V1::DocumentProcessingConfig::ParsingConfig::OcrParsingConfig) — Configurations applied to OCR parser. Currently it only applies to PDFs.
#ocr_parsing_config=
def ocr_parsing_config=(value) -> ::Google::Cloud::DiscoveryEngine::V1::DocumentProcessingConfig::ParsingConfig::OcrParsingConfig
Parameter
- value (::Google::Cloud::DiscoveryEngine::V1::DocumentProcessingConfig::ParsingConfig::OcrParsingConfig) — Configurations applied to OCR parser. Currently it only applies to PDFs.
Returns
- (::Google::Cloud::DiscoveryEngine::V1::DocumentProcessingConfig::ParsingConfig::OcrParsingConfig) — Configurations applied to OCR parser. Currently it only applies to PDFs.