GoogleCloudDialogflowCxV3WebhookGenericWebServiceResponse

data class GoogleCloudDialogflowCxV3WebhookGenericWebServiceResponse(val allowedCaCerts: List<String>, val httpMethod: String, val parameterMapping: Map<String, String>, val password: String, val requestBody: String, val requestHeaders: Map<String, String>, val uri: String, val username: String, val webhookType: String)

Represents configuration for a generic web service.

Constructors

fun GoogleCloudDialogflowCxV3WebhookGenericWebServiceResponse(allowedCaCerts: List<String>, httpMethod: String, parameterMapping: Map<String, String>, password: String, requestBody: String, requestHeaders: Map<String, String>, uri: String, username: String, webhookType: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val uri: String
Link copied to clipboard
Link copied to clipboard