
com.pulumi.googlenative.contentwarehouse.v1.kotlin.inputs.GoogleCloudDocumentaiV1DocumentPageParagraphArgs.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pulumi-google-native-kotlin Show documentation
Show all versions of pulumi-google-native-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.
The newest version!
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.contentwarehouse.v1.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.contentwarehouse.v1.inputs.GoogleCloudDocumentaiV1DocumentPageParagraphArgs.builder
import com.pulumi.kotlin.ConvertibleToJava
import com.pulumi.kotlin.PulumiTagMarker
import com.pulumi.kotlin.applySuspend
import kotlin.Suppress
import kotlin.Unit
import kotlin.collections.List
import kotlin.jvm.JvmName
/**
* A collection of lines that a human would perceive as a paragraph.
* @property detectedLanguages A list of detected languages together with confidence.
* @property layout Layout for Paragraph.
* @property provenance The history of this annotation.
*/
public data class GoogleCloudDocumentaiV1DocumentPageParagraphArgs(
public val detectedLanguages: Output>? = null,
public val layout: Output? = null,
public val provenance: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.contentwarehouse.v1.inputs.GoogleCloudDocumentaiV1DocumentPageParagraphArgs =
com.pulumi.googlenative.contentwarehouse.v1.inputs.GoogleCloudDocumentaiV1DocumentPageParagraphArgs.builder()
.detectedLanguages(
detectedLanguages?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.layout(layout?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.provenance(provenance?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) })).build()
}
/**
* Builder for [GoogleCloudDocumentaiV1DocumentPageParagraphArgs].
*/
@PulumiTagMarker
public class GoogleCloudDocumentaiV1DocumentPageParagraphArgsBuilder internal constructor() {
private var detectedLanguages:
Output>? = null
private var layout: Output? = null
private var provenance: Output? = null
/**
* @param value A list of detected languages together with confidence.
*/
@JvmName("nbvyefmhmmfjbawu")
public suspend fun detectedLanguages(`value`: Output>) {
this.detectedLanguages = value
}
@JvmName("advdttieahbkhckd")
public suspend fun detectedLanguages(vararg values: Output) {
this.detectedLanguages = Output.all(values.asList())
}
/**
* @param values A list of detected languages together with confidence.
*/
@JvmName("efgdvymtasypgvtl")
public suspend fun detectedLanguages(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy