Class GoogleCloudDiscoveryengineV1DocumentProcessingConfig
A singleton resource of DataStore. If it's empty when DataStore is created and DataStore is set to DataStore.ContentConfig.CONTENT_REQUIRED, the default parser will default to digital parser.
Implements
Inherited Members
Namespace: Google.Apis.DiscoveryEngine.v1alpha.Data
Assembly: Google.Apis.DiscoveryEngine.v1alpha.dll
Syntax
public class GoogleCloudDiscoveryengineV1DocumentProcessingConfig : IDirectResponseSchema
Properties
ChunkingConfig
Whether chunking mode is enabled.
Declaration
[JsonProperty("chunkingConfig")]
public virtual GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfig ChunkingConfig { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDiscoveryengineV1DocumentProcessingConfigChunkingConfig |
DefaultParsingConfig
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.
Declaration
[JsonProperty("defaultParsingConfig")]
public virtual GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig DefaultParsingConfig { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
The full resource name of the Document Processing Config. Format:
projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig
.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
ParsingConfigOverrides
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.
Declaration
[JsonProperty("parsingConfigOverrides")]
public virtual IDictionary<string, GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig> ParsingConfigOverrides { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, GoogleCloudDiscoveryengineV1DocumentProcessingConfigParsingConfig> |