View Source GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3WebhookGenericWebService (google_api_dialogflow v0.74.0)

Represents configuration for a generic web service.

Attributes

  • allowedCaCerts (type: list(String.t), default: nil) - 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'")
  • password (type: String.t, default: nil) - The password for HTTP Basic authentication.
  • requestHeaders (type: map(), default: nil) - The HTTP request headers to send together with webhook requests.
  • uri (type: String.t, default: nil) - Required. The webhook URI for receiving POST requests. It must use https protocol.
  • username (type: String.t, default: nil) - The user name for HTTP Basic authentication.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() ::
  %GoogleApi.Dialogflow.V3.Model.GoogleCloudDialogflowCxV3WebhookGenericWebService{
    allowedCaCerts: [String.t()] | nil,
    password: String.t() | nil,
    requestHeaders: map() | nil,
    uri: String.t() | nil,
    username: String.t() | nil
  }

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.