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,
[[["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\u003eThis webpage provides documentation for the \u003ccode\u003eGenericWebService\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Dialogflow.Cx.V3\u003c/code\u003e namespace, offering a range of versions from 1.0.0 to 2.23.0 (latest).\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGenericWebService\u003c/code\u003e is a class that represents the configuration for a generic web service, and it implements several interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe class has properties like \u003ccode\u003eAllowedCaCerts\u003c/code\u003e, \u003ccode\u003ePassword\u003c/code\u003e, \u003ccode\u003eRequestHeaders\u003c/code\u003e, \u003ccode\u003eUri\u003c/code\u003e, and \u003ccode\u003eUsername\u003c/code\u003e, which are used to define the web service's behavior and security, including options for custom CA certificates and HTTP authentication.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eUri\u003c/code\u003e property is required and defines the webhook endpoint for POST requests, mandating the use of the HTTPS protocol.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available for \u003ccode\u003eGenericWebService\u003c/code\u003e: one default and another that takes a \u003ccode\u003eWebhook.Types.GenericWebService\u003c/code\u003e object, allowing for initialization with existing configurations.\u003c/p\u003e\n"]]],[],null,[]]