Class GoogleCloudDialogflowCxV3WebhookGenericWebService
Represents configuration for a generic web service.
Implements
Inherited Members
Namespace: Google.Apis.Dialogflow.v3.Data
Assembly: Google.Apis.Dialogflow.v3.dll
Syntax
public class GoogleCloudDialogflowCxV3WebhookGenericWebService : IDirectResponseSchema
Properties
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'")
Declaration
[JsonProperty("allowedCaCerts")]
public virtual IList<string> AllowedCaCerts { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
HttpMethod
Optional. HTTP method for the flexible webhook calls. Standard webhook always uses POST.
Declaration
[JsonProperty("httpMethod")]
public virtual string HttpMethod { get; set; }
Property Value
Type | Description |
---|---|
string |
OauthConfig
Optional. The OAuth configuration of the webhook. If specified, Dialogflow will initiate the OAuth client credential flow to exchange an access token from the 3rd party platform and put it in the auth header.
Declaration
[JsonProperty("oauthConfig")]
public virtual GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig OauthConfig { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudDialogflowCxV3WebhookGenericWebServiceOAuthConfig |
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
Declaration
[JsonProperty("parameterMapping")]
public virtual IDictionary<string, string> ParameterMapping { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |
Password
The password for HTTP Basic authentication.
Declaration
[JsonProperty("password")]
public virtual string Password { get; set; }
Property Value
Type | Description |
---|---|
string |
RequestBody
Optional. Defines a custom JSON object as request body to send to flexible webhook.
Declaration
[JsonProperty("requestBody")]
public virtual string RequestBody { get; set; }
Property Value
Type | Description |
---|---|
string |
RequestHeaders
The HTTP request headers to send together with webhook requests.
Declaration
[JsonProperty("requestHeaders")]
public virtual IDictionary<string, string> RequestHeaders { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |
ServiceAgentAuth
Optional. Indicate the auth token type generated from the Diglogflow service agent. The generated token is sent in the Authorization header.
Declaration
[JsonProperty("serviceAgentAuth")]
public virtual string ServiceAgentAuth { get; set; }
Property Value
Type | Description |
---|---|
string |
Uri
Required. The webhook URI for receiving POST requests. It must use https protocol.
Declaration
[JsonProperty("uri")]
public virtual string Uri { get; set; }
Property Value
Type | Description |
---|---|
string |
Username
The user name for HTTP Basic authentication.
Declaration
[JsonProperty("username")]
public virtual string Username { get; set; }
Property Value
Type | Description |
---|---|
string |
WebhookType
Optional. Type of the webhook.
Declaration
[JsonProperty("webhookType")]
public virtual string WebhookType { get; set; }
Property Value
Type | Description |
---|---|
string |