com.pulumi.gcp.diagflow.kotlin.outputs.CxWebhookGenericWebService.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
import kotlin.collections.List
import kotlin.collections.Map
/**
*
* @property allowedCaCerts Specifies a list of allowed custom CA certificates (in DER format) for HTTPS verification.
* @property requestHeaders The HTTP request headers to send together with webhook requests.
* @property uri Whether to use speech adaptation for speech recognition.
*/
public data class CxWebhookGenericWebService(
public val allowedCaCerts: List? = null,
public val requestHeaders: Map? = null,
public val uri: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.gcp.diagflow.outputs.CxWebhookGenericWebService): CxWebhookGenericWebService = CxWebhookGenericWebService(
allowedCaCerts = javaType.allowedCaCerts().map({ args0 -> args0 }),
requestHeaders = javaType.requestHeaders().map({ args0 -> args0.key.to(args0.value) }).toMap(),
uri = javaType.uri(),
)
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy