GoogleCloudDialogflowCxV3WebhookGenericWebServiceResponse constructor
- required Input<
List< allowedCaCerts,String> > - required Input<
String> httpMethod, - required Input<
Map< parameterMapping,String, String> > - required Input<
String> password, - required Input<
String> requestBody, - required Input<
Map< requestHeaders,String, String> > - required Input<
String> uri, - required Input<
String> username, - required Input<
String> webhookType,
Creates a new GoogleCloudDialogflowCxV3WebhookGenericWebServiceResponse.
allowedCaCerts 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'")
httpMethod Optional. HTTP method for the flexible webhook calls. Standard webhook always uses POST.
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
password The password for HTTP Basic authentication.
requestBody Optional. Defines a custom JSON object as request body to send to flexible webhook.
requestHeaders The HTTP request headers to send together with webhook requests.
uri The webhook URI for receiving POST requests. It must use https protocol.
username The user name for HTTP Basic authentication.
webhookType Optional. Type of the webhook.
Implementation
const GoogleCloudDialogflowCxV3WebhookGenericWebServiceResponse({
required this.allowedCaCerts,
required this.httpMethod,
required this.parameterMapping,
required this.password,
required this.requestBody,
required this.requestHeaders,
required this.uri,
required this.username,
required this.webhookType,
});