Class ParsingConfig (0.12.2)

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_v1.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_v1.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.
layout_parsing_config google.cloud.discoveryengine_v1.types.DocumentProcessingConfig.ParsingConfig.LayoutParsingConfig
Configurations applied to layout parser. 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.

LayoutParsingConfig

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

The layout parsing configurations for documents.

OcrParsingConfig

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

The OCR parsing configurations for documents.