com.pulumi.googlenative.dialogflow.v3beta1.kotlin.outputs.GoogleCloudDialogflowCxV3beta1WebhookResponse.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.dialogflow.v3beta1.kotlin.outputs
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
/**
* Webhooks host the developer's business logic. During a session, webhooks allow the developer to use the data extracted by Dialogflow's natural language processing to generate dynamic responses, validate collected data, or trigger actions on the backend.
* @property disabled Indicates whether the webhook is disabled.
* @property displayName The human-readable name of the webhook, unique within the agent.
* @property genericWebService Configuration for a generic web service.
* @property name The unique identifier of the webhook. Required for the Webhooks.UpdateWebhook method. Webhooks.CreateWebhook populates the name automatically. Format: `projects//locations//agents//webhooks/`.
* @property serviceDirectory Configuration for a [Service Directory](https://cloud.google.com/service-directory) service.
* @property timeout Webhook execution timeout. Execution is considered failed if Dialogflow doesn't receive a response from webhook at the end of the timeout period. Defaults to 5 seconds, maximum allowed timeout is 30 seconds.
*/
public data class GoogleCloudDialogflowCxV3beta1WebhookResponse(
public val disabled: Boolean,
public val displayName: String,
public val genericWebService: GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceResponse,
public val name: String,
public val serviceDirectory: GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigResponse,
public val timeout: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.googlenative.dialogflow.v3beta1.outputs.GoogleCloudDialogflowCxV3beta1WebhookResponse): GoogleCloudDialogflowCxV3beta1WebhookResponse =
GoogleCloudDialogflowCxV3beta1WebhookResponse(
disabled = javaType.disabled(),
displayName = javaType.displayName(),
genericWebService = javaType.genericWebService().let({ args0 ->
com.pulumi.googlenative.dialogflow.v3beta1.kotlin.outputs.GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceResponse.Companion.toKotlin(args0)
}),
name = javaType.name(),
serviceDirectory = javaType.serviceDirectory().let({ args0 ->
com.pulumi.googlenative.dialogflow.v3beta1.kotlin.outputs.GoogleCloudDialogflowCxV3beta1WebhookServiceDirectoryConfigResponse.Companion.toKotlin(args0)
}),
timeout = javaType.timeout(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy