Discovery Engine v1 API - Class DocumentProcessingConfig.Types.ParsingConfig.Types.OcrParsingConfig (1.5.0)

public sealed class DocumentProcessingConfig.Types.ParsingConfig.Types.OcrParsingConfig : IMessage<DocumentProcessingConfig.Types.ParsingConfig.Types.OcrParsingConfig>, IEquatable<DocumentProcessingConfig.Types.ParsingConfig.Types.OcrParsingConfig>, IDeepCloneable<DocumentProcessingConfig.Types.ParsingConfig.Types.OcrParsingConfig>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1 API class DocumentProcessingConfig.Types.ParsingConfig.Types.OcrParsingConfig.

The OCR parsing configurations for documents.

Inheritance

object > DocumentProcessingConfig.Types.ParsingConfig.Types.OcrParsingConfig

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Constructors

OcrParsingConfig()

public OcrParsingConfig()

OcrParsingConfig(OcrParsingConfig)

public OcrParsingConfig(DocumentProcessingConfig.Types.ParsingConfig.Types.OcrParsingConfig other)
Parameter
Name Description
other DocumentProcessingConfigTypesParsingConfigTypesOcrParsingConfig

Properties

EnhancedDocumentElements

[Obsolete]
public RepeatedField<string> EnhancedDocumentElements { get; }

[DEPRECATED] This field is deprecated. To use the additional enhanced document elements processing, please switch to layout_parsing_config.

Property Value
Type Description
RepeatedFieldstring

UseNativeText

public bool UseNativeText { get; set; }

If true, will use native text instead of OCR text on pages containing native text.

Property Value
Type Description
bool