Google Cloud Discovery Engine V1beta Client - Class ParsingConfig (0.11.3)

Reference documentation and code samples for the Google Cloud Discovery Engine V1beta Client class ParsingConfig.

Related configurations applied to a specific type of document parser.

Generated from protobuf message google.cloud.discoveryengine.v1beta.DocumentProcessingConfig.ParsingConfig

Namespace

Google \ Cloud \ DiscoveryEngine \ V1beta \ DocumentProcessingConfig

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ digital_parsing_config Google\Cloud\DiscoveryEngine\V1beta\DocumentProcessingConfig\ParsingConfig\DigitalParsingConfig

Configurations applied to digital parser.

↳ ocr_parsing_config Google\Cloud\DiscoveryEngine\V1beta\DocumentProcessingConfig\ParsingConfig\OcrParsingConfig

Configurations applied to OCR parser. Currently it only applies to PDFs.

getDigitalParsingConfig

Configurations applied to digital parser.

Returns
Type Description
Google\Cloud\DiscoveryEngine\V1beta\DocumentProcessingConfig\ParsingConfig\DigitalParsingConfig|null

hasDigitalParsingConfig

setDigitalParsingConfig

Configurations applied to digital parser.

Parameter
Name Description
var Google\Cloud\DiscoveryEngine\V1beta\DocumentProcessingConfig\ParsingConfig\DigitalParsingConfig
Returns
Type Description
$this

getOcrParsingConfig

Configurations applied to OCR parser. Currently it only applies to PDFs.

Returns
Type Description
Google\Cloud\DiscoveryEngine\V1beta\DocumentProcessingConfig\ParsingConfig\OcrParsingConfig|null

hasOcrParsingConfig

setOcrParsingConfig

Configurations applied to OCR parser. Currently it only applies to PDFs.

Parameter
Name Description
var Google\Cloud\DiscoveryEngine\V1beta\DocumentProcessingConfig\ParsingConfig\OcrParsingConfig
Returns
Type Description
$this

getTypeDedicatedConfig

Returns
Type Description
string