GoogleCloudDialogflowCxV3WebhookGenericWebService class

Represents configuration for a generic web service.

Constructors

GoogleCloudDialogflowCxV3WebhookGenericWebService({Input<List<String>>? allowedCaCerts, Input<GoogleCloudDialogflowCxV3WebhookGenericWebServiceHttpMethod>? httpMethod, Input<Map<String, String>>? parameterMapping, Input<String>? password, Input<String>? requestBody, Input<Map<String, String>>? requestHeaders, required Input<String> uri, Input<String>? username, Input<GoogleCloudDialogflowCxV3WebhookGenericWebServiceWebhookType>? webhookType})
Creates a new GoogleCloudDialogflowCxV3WebhookGenericWebService. 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 &lt;(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.
const
GoogleCloudDialogflowCxV3WebhookGenericWebService.fromMap(Map<String, dynamic> map)
factory

Properties

allowedCaCerts → Input<List<String>>?
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 &lt;(printf "\nsubjectAltName='DNS:www.example.com'")
final
hashCode → int
The hash code for this object.
no setterinherited
httpMethod → Input<GoogleCloudDialogflowCxV3WebhookGenericWebServiceHttpMethod>?
Optional. HTTP method for the flexible webhook calls. Standard webhook always uses POST.
final
parameterMapping → Input<Map<String, String>>?
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
final
password → Input<String>?
The password for HTTP Basic authentication.
final
requestBody → Input<String>?
Optional. Defines a custom JSON object as request body to send to flexible webhook.
final
requestHeaders → Input<Map<String, String>>?
The HTTP request headers to send together with webhook requests.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
uri → Input<String>
The webhook URI for receiving POST requests. It must use https protocol.
final
username → Input<String>?
The user name for HTTP Basic authentication.
final
webhookType → Input<GoogleCloudDialogflowCxV3WebhookGenericWebServiceWebhookType>?
Optional. Type of the webhook.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited