1.0.0-beta25 (latest) 1.0.0-beta24

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

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

A singleton resource of
\[DataStore\]\[google.cloud.discoveryengine.v1beta.DataStore\]. If it's empty
when \[DataStore\]\[google.cloud.discoveryengine.v1beta.DataStore\] is created
and \[DataStore\]\[google.cloud.discoveryengine.v1beta.DataStore\] is set to
\[DataStore.ContentConfig.CONTENT_REQUIRED\]\[google.cloud.discoveryengine.v1beta.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.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DocumentProcessingConfig), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[DocumentProcessingConfig](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.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.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.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.V1Beta](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta)

## Assembly

Google.Cloud.DiscoveryEngine.V1Beta.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.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.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.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DocumentProcessingConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DocumentProcessingConfig.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.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.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DocumentProcessingConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DocumentProcessingConfig.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DocumentProcessingConfig.Types.ParsingConfig` |   |

### DocumentProcessingConfigName

    public DocumentProcessingConfigName DocumentProcessingConfigName { get; set; }

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

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.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.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DocumentProcessingConfighttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DocumentProcessingConfig.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.DiscoveryEngine.V1Beta/latest/Google.Cloud.DiscoveryEngine.V1Beta.DocumentProcessingConfig.Types.ParsingConfig` |   |