com.pulumi.gcp.diagflow.kotlin.inputs.CxTestCaseTestCaseConversationTurnVirtualAgentOutputArgs.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.diagflow.kotlin.inputs
import com.pulumi.core.Output
import com.pulumi.core.Output.of
import com.pulumi.gcp.diagflow.inputs.CxTestCaseTestCaseConversationTurnVirtualAgentOutputArgs.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 currentPage The [Page](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.flows.pages#Page) on which the utterance was spoken.
* Structure is documented below.
* @property sessionParameters The session parameters available to the bot at this point.
* @property textResponses The text responses from the agent for the turn.
* Structure is documented below.
* @property triggeredIntent The [Intent](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.intents#Intent) that triggered the response.
* Structure is documented below.
*/
public data class CxTestCaseTestCaseConversationTurnVirtualAgentOutputArgs(
public val currentPage: Output? = null,
public val sessionParameters: Output? = null,
public val textResponses: Output>? = null,
public val triggeredIntent: Output? = null,
) :
ConvertibleToJava {
override fun toJava(): com.pulumi.gcp.diagflow.inputs.CxTestCaseTestCaseConversationTurnVirtualAgentOutputArgs =
com.pulumi.gcp.diagflow.inputs.CxTestCaseTestCaseConversationTurnVirtualAgentOutputArgs.builder()
.currentPage(currentPage?.applyValue({ args0 -> args0.let({ args0 -> args0.toJava() }) }))
.sessionParameters(sessionParameters?.applyValue({ args0 -> args0 }))
.textResponses(
textResponses?.applyValue({ args0 ->
args0.map({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
})
}),
)
.triggeredIntent(
triggeredIntent?.applyValue({ args0 ->
args0.let({ args0 ->
args0.toJava()
})
}),
).build()
}
/**
* Builder for [CxTestCaseTestCaseConversationTurnVirtualAgentOutputArgs].
*/
@PulumiTagMarker
public class CxTestCaseTestCaseConversationTurnVirtualAgentOutputArgsBuilder internal constructor() {
private var currentPage:
Output? = null
private var sessionParameters: Output? = null
private var textResponses:
Output>? = null
private var triggeredIntent:
Output? = null
/**
* @param value The [Page](https://cloud.google.com/dialogflow/cx/docs/reference/rest/v3/projects.locations.agents.flows.pages#Page) on which the utterance was spoken.
* Structure is documented below.
*/
@JvmName("imetkdxumdsbujri")
public suspend fun currentPage(`value`: Output) {
this.currentPage = value
}
/**
* @param value The session parameters available to the bot at this point.
*/
@JvmName("lyrbohcuwudqrifh")
public suspend fun sessionParameters(`value`: Output) {
this.sessionParameters = value
}
/**
* @param value The text responses from the agent for the turn.
* Structure is documented below.
*/
@JvmName("jxildxrdagueoexp")
public suspend fun textResponses(`value`: Output>) {
this.textResponses = value
}
@JvmName("kqsnpxhrmabcrevh")
public suspend fun textResponses(vararg values: Output) {
this.textResponses = Output.all(values.asList())
}
/**
* @param values The text responses from the agent for the turn.
* Structure is documented below.
*/
@JvmName("mtojhjlpqplxbgle")
public suspend fun textResponses(values: List
© 2015 - 2024 Weber Informatics LLC | Privacy Policy