Class ParsingConfig (0.11.14)

ParsingConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Related configurations applied to a specific type of document parser.

This message has oneof_ fields (mutually exclusive fields). For each oneof, at most one member field can be set at the same time. Setting any member of the oneof automatically clears all other members.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

Name Description
digital_parsing_config google.cloud.discoveryengine_v1beta.types.DocumentProcessingConfig.ParsingConfig.DigitalParsingConfig
Configurations applied to digital parser. This field is a member of oneof_ type_dedicated_config.
ocr_parsing_config google.cloud.discoveryengine_v1beta.types.DocumentProcessingConfig.ParsingConfig.OcrParsingConfig
Configurations applied to OCR parser. Currently it only applies to PDFs. This field is a member of oneof_ type_dedicated_config.

Classes

DigitalParsingConfig

DigitalParsingConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The digital parsing configurations for documents.

OcrParsingConfig

OcrParsingConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The OCR parsing configurations for documents.