@@ -98,12 +98,30 @@ class GenericWebService(proto.Message):
9898 request_headers (Sequence[google.cloud.dialogflowcx_v3beta1.types.Webhook.GenericWebService.RequestHeadersEntry]):
9999 The HTTP request headers to send together
100100 with webhook requests.
101+ allowed_ca_certs (Sequence[bytes]):
102+ Optional. Specifies a list of allowed custom
103+ CA certificates (in DER format) for HTTPS
104+ verification. This overrides the default SSL
105+ trust store. If this is empty or unspecified,
106+ Dialogflow will use Google's default trust store
107+ to verify certificates.
108+ N.B. Make sure the HTTPS server certificates are
109+ signed with "subject alt name". For instance a
110+ certificate can be self-signed using the
111+ following command,
112+ openssl x509 -req -days 200 -in
113+ example.com.csr \ -signkey example.com.key
114+ \
115+ -out example.com.crt \
116+ -extfile <(printf
117+ "\nsubjectAltName='DNS:www.example.com'")
101118 """
102119
103120 uri = proto .Field (proto .STRING , number = 1 ,)
104121 username = proto .Field (proto .STRING , number = 2 ,)
105122 password = proto .Field (proto .STRING , number = 3 ,)
106123 request_headers = proto .MapField (proto .STRING , proto .STRING , number = 4 ,)
124+ allowed_ca_certs = proto .RepeatedField (proto .BYTES , number = 5 ,)
107125
108126 class ServiceDirectoryConfig (proto .Message ):
109127 r"""Represents configuration for a `Service
0 commit comments