All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.gcp.diagflow.kotlin.outputs.CxWebhookGenericWebService.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 8.10.0.0
Show newest version
@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