com.pulumi.gcp.discoveryengine.kotlin.inputs.DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigArgs.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.DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import kotlin.Boolean
import kotlin.Suppress
import kotlin.jvm.JvmName
/**
*
* @property useNativeText If true, will use native text instead of OCR text on pages containing native text.
*/
public data class DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigArgs(
public val useNativeText: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.discoveryengine.inputs.DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigArgs =
com.pulumi.gcp.discoveryengine.inputs.DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigArgs.builder()
.useNativeText(useNativeText?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigArgs].
*/
@PulumiTagMarker
public class DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigArgsBuilder
internal constructor() {
private var useNativeText: Output? = null
/**
* @param value If true, will use native text instead of OCR text on pages containing native text.
*/
@JvmName("anjvaxavfepdgajx")
public suspend fun useNativeText(`value`: Output) {
this.useNativeText = value
}
/**
* @param value If true, will use native text instead of OCR text on pages containing native text.
*/
@JvmName("qoarvgluuaryhehi")
public suspend fun useNativeText(`value`: Boolean?) {
val toBeMapped = value
val mapped = toBeMapped?.let({ args0 -> of(args0) })
this.useNativeText = mapped
}
internal fun build(): DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigArgs =
DataStoreDocumentProcessingConfigDefaultParsingConfigOcrParsingConfigArgs(
useNativeText = useNativeText,
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy