Show / Hide Table of Contents

Class GoogleCloudDialogflowCxV3WebhookGenericWebService

Represents configuration for a generic web service.

Inheritance
object
GoogleCloudDialogflowCxV3WebhookGenericWebService
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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>

SecretVersionForUsernamePassword

Optional. The SecretManager secret version resource storing the username:password pair for HTTP Basic authentication. Format: projects/{project}/secrets/{secret}/versions/{version}

Declaration
[JsonProperty("secretVersionForUsernamePassword")]
public virtual string SecretVersionForUsernamePassword { get; set; }
Property Value
Type Description
string

SecretVersionsForRequestHeaders

Optional. The HTTP request headers to send together with webhook requests. Header values are stored in SecretManager secret versions. When the same header name is specified in both request_headers and secret_versions_for_request_headers, the value in secret_versions_for_request_headers will be used.

Declaration
[JsonProperty("secretVersionsForRequestHeaders")]
public virtual IDictionary<string, GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue> SecretVersionsForRequestHeaders { get; set; }
Property Value
Type Description
IDictionary<string, GoogleCloudDialogflowCxV3WebhookGenericWebServiceSecretVersionHeaderValue>

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

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX