
com.pulumi.googlenative.dialogflow.v3.kotlin.inputs.GoogleCloudDialogflowCxV3TestCaseResultArgs.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.dialogflow.v3.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.googlenative.dialogflow.v3.inputs.GoogleCloudDialogflowCxV3TestCaseResultArgs.builder
import com.pulumi.googlenative.dialogflow.v3.kotlin.enums.GoogleCloudDialogflowCxV3TestCaseResultTestResult
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
/**
* Represents a result from running a test case in an agent environment.
* @property conversationTurns The conversation turns uttered during the test case replay in chronological order.
* @property environment Environment where the test was run. If not set, it indicates the draft environment.
* @property name The resource name for the test case result. Format: `projects//locations//agents//testCases/ /results/`.
* @property testResult Whether the test case passed in the agent environment.
* @property testTime The time that the test was run.
*/
public data class GoogleCloudDialogflowCxV3TestCaseResultArgs(
public val conversationTurns: Output>? = null,
public val environment: Output? = null,
public val name: Output? = null,
public val testResult: Output? = null,
public val testTime: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.googlenative.dialogflow.v3.inputs.GoogleCloudDialogflowCxV3TestCaseResultArgs =
com.pulumi.googlenative.dialogflow.v3.inputs.GoogleCloudDialogflowCxV3TestCaseResultArgs.builder()
.conversationTurns(
conversationTurns?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.environment(environment?.applyValue({ args0 -> args0 }))
.name(name?.applyValue({ args0 -> args0 }))
.testResult(testResult?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.testTime(testTime?.applyValue({ args0 -> args0 })).build()
}
/**
* Builder for [GoogleCloudDialogflowCxV3TestCaseResultArgs].
*/
@PulumiTagMarker
public class GoogleCloudDialogflowCxV3TestCaseResultArgsBuilder internal constructor() {
private var conversationTurns: Output>? = null
private var environment: Output? = null
private var name: Output? = null
private var testResult: Output? = null
private var testTime: Output? = null
/**
* @param value The conversation turns uttered during the test case replay in chronological order.
*/
@JvmName("utcgjqanqnlckpoo")
public suspend fun conversationTurns(`value`: Output>) {
this.conversationTurns = value
}
@JvmName("mswxktqyswheppme")
public suspend fun conversationTurns(vararg values: Output) {
this.conversationTurns = Output.all(values.asList())
}
/**
* @param values The conversation turns uttered during the test case replay in chronological order.
*/
@JvmName("kvtqkvvrtbrddvux")
public suspend fun conversationTurns(values: List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy