public sealed class GenericWebService : IMessage<Webhook.Types.GenericWebService>, IEquatable<Webhook.Types.GenericWebService>, IDeepCloneable<Webhook.Types.GenericWebService>, IBufferMessage, IMessage
Represents configuration for a generic web service.
public RepeatedField<ByteString> AllowedCaCerts { get; }
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'")
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eGenericWebService\u003c/code\u003e is 2.23.0, with numerous earlier versions available, including versions starting at 1.0.0 and going up in increments.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGenericWebService\u003c/code\u003e class represents the configuration for a generic web service, with an inheritance from \u003ccode\u003eObject\u003c/code\u003e and implementation of several interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGenericWebService\u003c/code\u003e can be instantiated using a default constructor or one that takes another \u003ccode\u003eGenericWebService\u003c/code\u003e instance as a parameter for copy construction.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eGenericWebService\u003c/code\u003e include \u003ccode\u003eAllowedCaCerts\u003c/code\u003e for custom CA certificate verification, \u003ccode\u003eRequestHeaders\u003c/code\u003e for sending HTTP headers with requests, and \u003ccode\u003eUri\u003c/code\u003e for the webhook's receiving address, which is required and must use HTTPS.\u003c/p\u003e\n"],["\u003cp\u003eThere are properties for basic authentication with \u003ccode\u003eUsername\u003c/code\u003e and \u003ccode\u003ePassword\u003c/code\u003e, however, these are now \u003ccode\u003eObsolete\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]