GoogleCloudDialogflowCxV3WebhookGenericWebServiceArgs

data class GoogleCloudDialogflowCxV3WebhookGenericWebServiceArgs(val allowedCaCerts: Output<List<String>>? = null, val httpMethod: Output<GoogleCloudDialogflowCxV3WebhookGenericWebServiceHttpMethod>? = null, val parameterMapping: Output<Map<String, String>>? = null, val password: Output<String>? = null, val requestBody: Output<String>? = null, val requestHeaders: Output<Map<String, String>>? = null, val uri: Output<String>, val username: Output<String>? = null, val webhookType: Output<GoogleCloudDialogflowCxV3WebhookGenericWebServiceWebhookType>? = null) : ConvertibleToJava<GoogleCloudDialogflowCxV3WebhookGenericWebServiceArgs>

Represents configuration for a generic web service.

Constructors

fun GoogleCloudDialogflowCxV3WebhookGenericWebServiceArgs(allowedCaCerts: Output<List<String>>? = null, httpMethod: Output<GoogleCloudDialogflowCxV3WebhookGenericWebServiceHttpMethod>? = null, parameterMapping: Output<Map<String, String>>? = null, password: Output<String>? = null, requestBody: Output<String>? = null, requestHeaders: Output<Map<String, String>>? = null, uri: Output<String>, username: Output<String>? = null, webhookType: Output<GoogleCloudDialogflowCxV3WebhookGenericWebServiceWebhookType>? = null)

Functions

Link copied to clipboard
open override fun toJava(): GoogleCloudDialogflowCxV3WebhookGenericWebServiceArgs

Properties

Link copied to clipboard
val allowedCaCerts: Output<List<String>>? = null

Optional. Specifies a list of allowed custom CA certificates (in DER format) for HTTPS verification. This overrides the default SSL trust store. If this is empty or unspecified, Dialogflow will use Google's default trust store to verify certificates. N.B. Make sure the HTTPS server certificates are signed with "subject alt name". For instance a certificate can be self-signed using the following command, `` openssl x509 -req -days 200 -in example.com.csr \ -signkey example.com.key \ -out example.com.crt \ -extfile <(printf "\nsubjectAltName='DNS:www.example.com'") `` @property httpMethod Optional. HTTP method for the flexible webhook calls. Standard webhook always uses POST. @property parameterMapping Optional. Maps the values extracted from specific fields of the flexible webhook response into session parameters. - Key: session parameter name - Value: field path in the webhook response @property password The password for HTTP Basic authentication. @property requestBody Optional. Defines a custom JSON object as request body to send to flexible webhook. @property requestHeaders The HTTP request headers to send together with webhook requests. @property uri The webhook URI for receiving POST requests. It must use https protocol. @property username The user name for HTTP Basic authentication. @property webhookType Optional. Type of the webhook.

Link copied to clipboard
val parameterMapping: Output<Map<String, String>>? = null
Link copied to clipboard
val password: Output<String>? = null
Link copied to clipboard
val requestBody: Output<String>? = null
Link copied to clipboard
val requestHeaders: Output<Map<String, String>>? = null
Link copied to clipboard
val uri: Output<String>
Link copied to clipboard
val username: Output<String>? = null