1.15.0 (latest) 1.14.0 1.13.0 1.12.0 1.11.0 1.10.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0-beta06

    public sealed class DocumentProcessingConfig : IMessage<DocumentProcessingConfig>, IEquatable<DocumentProcessingConfig>, IDeepCloneable<DocumentProcessingConfig>, IBufferMessage, IMessage

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

A singleton resource of
\[DataStore\]\[google.cloud.discoveryengine.v1.DataStore\]. If it's empty when
\[DataStore\]\[google.cloud.discoveryengine.v1.DataStore\] is created and
\[DataStore\]\[google.cloud.discoveryengine.v1.DataStore\] is set to
\[DataStore.ContentConfig.CONTENT_REQUIRED\]\[google.cloud.discoveryengine.v1.DataStore.ContentConfig.CONTENT_REQUIRED\],
the default parser will default to digital parser.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> DocumentProcessingConfig

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[DocumentProcessingConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.DocumentProcessingConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DocumentProcessingConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.DocumentProcessingConfig), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[DocumentProcessingConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.DocumentProcessingConfig), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.DiscoveryEngine.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1)

## Assembly

Google.Cloud.DiscoveryEngine.V1.dll

## Constructors

### DocumentProcessingConfig()

    public DocumentProcessingConfig()

### DocumentProcessingConfig(DocumentProcessingConfig)

    public DocumentProcessingConfig(DocumentProcessingConfig other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.DocumentProcessingConfig` |

## Properties

### ChunkingConfig

    public DocumentProcessingConfig.Types.ChunkingConfig ChunkingConfig { get; set; }

Whether chunking mode is enabled.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.DocumentProcessingConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.DocumentProcessingConfig.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.DocumentProcessingConfig.Types.ChunkingConfig` |   |

### DefaultParsingConfig

    public DocumentProcessingConfig.Types.ParsingConfig DefaultParsingConfig { get; set; }

Configurations for default Document parser.
If not specified, we will configure it as default DigitalParsingConfig, and
the default parsing config will be applied to all file types for Document
parsing.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.DocumentProcessingConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.DocumentProcessingConfig.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.DocumentProcessingConfig.Types.ParsingConfig` |   |

### DocumentProcessingConfigName

    public DocumentProcessingConfigName DocumentProcessingConfigName { get; set; }

[DocumentProcessingConfigName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.DocumentProcessingConfigName)-typed view over the [Name](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.DocumentProcessingConfig#Google_Cloud_DiscoveryEngine_V1_DocumentProcessingConfig_Name) resource name
property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.DocumentProcessingConfigName` |   |

### Name

    public string Name { get; set; }

The full resource name of the Document Processing Config.
Format:
`projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### ParsingConfigOverrides

    public MapField<string, DocumentProcessingConfig.Types.ParsingConfig> ParsingConfigOverrides { get; }

Map from file type to override the default parsing configuration based on
the file type. Supported keys:

- `pdf`: Override parsing config for PDF files, either digital parsing, ocr parsing or layout parsing is supported.
- `html`: Override parsing config for HTML files, only digital parsing and layout parsing are supported.
- `docx`: Override parsing config for DOCX files, only digital parsing and layout parsing are supported.
- `pptx`: Override parsing config for PPTX files, only digital parsing and layout parsing are supported.
- `xlsm`: Override parsing config for XLSM files, only digital parsing and layout parsing are supported.
- `xlsx`: Override parsing config for XLSX files, only digital parsing and layout parsing are supported.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.MapField-2.htmlhttps://learn.microsoft.com/dotnet/api/system.stringhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.DocumentProcessingConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.DocumentProcessingConfig.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1/latest/Google.Cloud.DiscoveryEngine.V1.DocumentProcessingConfig.Types.ParsingConfig` |   |