GoogleCloudDialogflowCxV3beta1WebhookGenericWebService class
Represents configuration for a generic web service.
Constructors
-
GoogleCloudDialogflowCxV3beta1WebhookGenericWebService({Input<
List< ? allowedCaCerts, Input<String> >GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceHttpMethod> ? httpMethod, Input<Map< ? parameterMapping, Input<String, String> >String> ? password, Input<String> ? requestBody, Input<Map< ? requestHeaders, required Input<String, String> >String> uri, Input<String> ? username, Input<GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceWebhookType> ? webhookType}) -
Creates a new GoogleCloudDialogflowCxV3beta1WebhookGenericWebService.
allowedCaCertsOptional. 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'")httpMethodOptional. HTTP method for the flexible webhook calls. Standard webhook always uses POST.parameterMappingOptional. 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 responsepasswordThe password for HTTP Basic authentication.requestBodyOptional. Defines a custom JSON object as request body to send to flexible webhook.requestHeadersThe HTTP request headers to send together with webhook requests.uriThe webhook URI for receiving POST requests. It must use https protocol.usernameThe user name for HTTP Basic authentication.webhookTypeOptional. Type of the webhook.const -
GoogleCloudDialogflowCxV3beta1WebhookGenericWebService.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 <(printf "\nsubjectAltName='DNS:www.example.com'")final - hashCode → int
-
The hash code for this object.
no setterinherited
-
httpMethod
→ Input<
GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceHttpMethod> ? -
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<
GoogleCloudDialogflowCxV3beta1WebhookGenericWebServiceWebhookType> ? -
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