com.pulumi.gcp.diagflow.kotlin.outputs.CxPageEventHandler.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.outputs
import kotlin.String
import kotlin.Suppress
/**
*
* @property event The name of the event to handle.
* @property name (Output)
* The unique identifier of this event handler.
* @property targetFlow The target flow to transition to.
* Format: projects//locations//agents//flows/.
* @property targetPage The target page to transition to.
* Format: projects//locations//agents//flows//pages/.
* @property triggerFulfillment The fulfillment to call when the event occurs. Handling webhook errors with a fulfillment enabled with webhook could cause infinite loop. It is invalid to specify such fulfillment for a handler handling webhooks.
* Structure is documented below.
*/
public data class CxPageEventHandler(
public val event: String? = null,
public val name: String? = null,
public val targetFlow: String? = null,
public val targetPage: String? = null,
public val triggerFulfillment: CxPageEventHandlerTriggerFulfillment? = null,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.diagflow.outputs.CxPageEventHandler): CxPageEventHandler = CxPageEventHandler(
event = javaType.event().map({ args0 -> args0 }).orElse(null),
name = javaType.name().map({ args0 -> args0 }).orElse(null),
targetFlow = javaType.targetFlow().map({ args0 -> args0 }).orElse(null),
targetPage = javaType.targetPage().map({ args0 -> args0 }).orElse(null),
triggerFulfillment = javaType.triggerFulfillment().map({ args0 ->
args0.let({ args0 ->
com.pulumi.gcp.diagflow.kotlin.outputs.CxPageEventHandlerTriggerFulfillment.Companion.toKotlin(args0)
})
}).orElse(null),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy