public sealed class Webhook.Types.GenericWebService : IMessage<Webhook.Types.GenericWebService>, IEquatable<Webhook.Types.GenericWebService>, IDeepCloneable<Webhook.Types.GenericWebService>, IBufferMessage, IMessage
Reference documentation and code samples for the Dialogflow v3 API class Webhook.Types.GenericWebService.
Represents configuration for a generic web service.
Implements
IMessageWebhookTypesGenericWebService, IEquatableWebhookTypesGenericWebService, IDeepCloneableWebhookTypesGenericWebService, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.Cx.V3Assembly
Google.Cloud.Dialogflow.Cx.V3.dll
Constructors
GenericWebService()
public GenericWebService()
GenericWebService(GenericWebService)
public GenericWebService(Webhook.Types.GenericWebService other)
Parameter | |
---|---|
Name | Description |
other | WebhookTypesGenericWebService |
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 |
RepeatedFieldByteString |
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 |
MapFieldstringstring |
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 |