Class Webhook.Types.GenericWebService (1.13.0)

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.

Inheritance

Object > Webhook.Types.GenericWebService

Namespace

Google.Cloud.Dialogflow.Cx.V3

Assembly

Google.Cloud.Dialogflow.Cx.V3.dll

Constructors

GenericWebService()

public GenericWebService()

GenericWebService(Webhook.Types.GenericWebService)

public GenericWebService(Webhook.Types.GenericWebService other)
Parameter
NameDescription
otherWebhook.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 &lt;(printf &quot;\nsubjectAltName=&apos;DNS:www.example.com&apos;&quot;)
Property Value
TypeDescription
RepeatedField<ByteString>

Password

[Obsolete]
public string Password { get; set; }

The password for HTTP Basic authentication.

Property Value
TypeDescription
String

RequestHeaders

public MapField<string, string> RequestHeaders { get; }

The HTTP request headers to send together with webhook requests.

Property Value
TypeDescription
MapField<String, String>

Uri

public string Uri { get; set; }

Required. The webhook URI for receiving POST requests. It must use https protocol.

Property Value
TypeDescription
String

Username

[Obsolete]
public string Username { get; set; }

The user name for HTTP Basic authentication.

Property Value
TypeDescription
String