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.
Implements
IMessage<Webhook.Types.GenericWebService>, IEquatable<Webhook.Types.GenericWebService>, IDeepCloneable<Webhook.Types.GenericWebService>, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Constructors
GenericWebService()
public GenericWebService()
GenericWebService(Webhook.Types.GenericWebService)
public GenericWebService(Webhook.Types.GenericWebService other)
Parameter | |
---|---|
Name | Description |
other | Webhook.Types.GenericWebService |
Properties
AllowedCaCerts
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'")
Property Value | |
---|---|
Type | Description |
RepeatedField<ByteString> |
Password
[Obsolete]
public string Password { get; set; }
The password for HTTP Basic authentication.
Property Value | |
---|---|
Type | Description |
String |
RequestHeaders
public MapField<string, string> RequestHeaders { get; }
The HTTP request headers to send together with webhook requests.
Property Value | |
---|---|
Type | Description |
MapField<String, String> |
Uri
public string Uri { get; set; }
Required. The webhook URI for receiving POST requests. It must use https protocol.
Property Value | |
---|---|
Type | Description |
String |
Username
[Obsolete]
public string Username { get; set; }
The user name for HTTP Basic authentication.
Property Value | |
---|---|
Type | Description |
String |