View Source GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig (google_api_discovery_engine v0.7.0)

A singleton resource of DataStore. It's empty when DataStore is created, which defaults to digital parser. The first call to DataStoreService.UpdateDocumentProcessingConfig method will initialize the config.

Attributes

  • defaultParsingConfig (type: GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig.t, default: nil) - 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.
  • name (type: String.t, default: nil) - The full resource name of the Document Processing Config. Format: projects/*/locations/*/collections/*/dataStores/*/documentProcessingConfig.
  • parsingConfigOverrides (type: %{optional(String.t) => GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig.t}, default: nil) - 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 or layout parsing are supported. * docx: Override parsing config for DOCX files, only digital parsing and or layout parsing are supported.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaDocumentProcessingConfig{
    defaultParsingConfig:
      GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig.t()
      | nil,
    name: String.t() | nil,
    parsingConfigOverrides:
      %{
        optional(String.t()) =>
          GoogleApi.DiscoveryEngine.V1beta.Model.GoogleCloudDiscoveryengineV1betaDocumentProcessingConfigParsingConfig.t()
      }
      | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.