All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.discoveryengine.kotlin.outputs.DataStoreDocumentProcessingConfig.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.13.1.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.gcp.discoveryengine.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List

/**
 *
 * @property defaultParsingConfig Configurations for default Document parser. If not specified, this resource
 * will be configured to use a default DigitalParsingConfig, and the default parsing
 * config will be applied to all file types for Document parsing.
 * Structure is documented below.
 * @property name (Output)
 * The full resource name of the Document Processing Config. Format:
 * `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/documentProcessingConfig`.
 * @property parsingConfigOverrides Map from file type to override the default parsing configuration based on the file type. Supported keys:
 */
public data class DataStoreDocumentProcessingConfig(
    public val defaultParsingConfig: DataStoreDocumentProcessingConfigDefaultParsingConfig? = null,
    public val name: String? = null,
    public val parsingConfigOverrides: List? =
        null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.gcp.discoveryengine.outputs.DataStoreDocumentProcessingConfig): DataStoreDocumentProcessingConfig = DataStoreDocumentProcessingConfig(
            defaultParsingConfig = javaType.defaultParsingConfig().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.discoveryengine.kotlin.outputs.DataStoreDocumentProcessingConfigDefaultParsingConfig.Companion.toKotlin(args0)
                })
            }).orElse(null),
            name = javaType.name().map({ args0 -> args0 }).orElse(null),
            parsingConfigOverrides = javaType.parsingConfigOverrides().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.gcp.discoveryengine.kotlin.outputs.DataStoreDocumentProcessingConfigParsingConfigOverride.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy