![JAR search and dependency download from the Maven repository](/logo.png)
com.pulumi.gcp.discoveryengine.kotlin.inputs.DataStoreDocumentProcessingConfigArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-gcp-kotlin Show documentation
Show all versions of pulumi-gcp-kotlin Show documentation
Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.gcp.discoveryengine.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.discoveryengine.inputs.DataStoreDocumentProcessingConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
*
* @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 DataStoreDocumentProcessingConfigArgs(
public val defaultParsingConfig: Output? = null,
public val name: Output? = null,
public val parsingConfigOverrides: Output>? = null,
) : ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.discoveryengine.inputs.DataStoreDocumentProcessingConfigArgs = com.pulumi.gcp.discoveryengine.inputs.DataStoreDocumentProcessingConfigArgs.builder()
.defaultParsingConfig(
defaultParsingConfig?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
)
.name(name?.applyValue({ args0 -> args0 }))
.parsingConfigOverrides(
parsingConfigOverrides?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 -> args0.toJava() })
})
}),
).build()
}
/**
* Builder for [DataStoreDocumentProcessingConfigArgs].
*/
@PulumiTagMarker
public class DataStoreDocumentProcessingConfigArgsBuilder internal constructor() {
private var defaultParsingConfig:
Output? = null
private var name: Output? = null
private var parsingConfigOverrides:
Output>? = null
/**
* @param value 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.
*/
@JvmName("tvdlybcftpvnatht")
public suspend fun defaultParsingConfig(`value`: Output) {
this.defaultParsingConfig = value
}
/**
* @param value (Output)
* The full resource name of the Document Processing Config. Format:
* `projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}/documentProcessingConfig`.
*/
@JvmName("qrnjpbarvrsnxwsy")
public suspend fun name(`value`: Output) {
this.name = value
}
/**
* @param value Map from file type to override the default parsing configuration based on the file type. Supported keys:
*/
@JvmName("dgpsgxucnxykjtsq")
public suspend fun parsingConfigOverrides(`value`: Output>) {
this.parsingConfigOverrides = value
}
@JvmName("dallcbukcoehqpel")
public suspend fun parsingConfigOverrides(vararg values: Output) {
this.parsingConfigOverrides = Output.all(values.asList())
}
/**
* @param values Map from file type to override the default parsing configuration based on the file type. Supported keys:
*/
@JvmName("cflqtmljdbshjner")
public suspend fun parsingConfigOverrides(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy