Skip to content
This repository was archived by the owner on Jan 6, 2024. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions google/cloud/dialogflowcx_v3beta1/types/webhook.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,30 @@ class GenericWebService(proto.Message):
request_headers (Sequence[google.cloud.dialogflowcx_v3beta1.types.Webhook.GenericWebService.RequestHeadersEntry]):
The HTTP request headers to send together
with webhook requests.
allowed_ca_certs (Sequence[bytes]):
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'")
"""

uri = proto.Field(proto.STRING, number=1,)
username = proto.Field(proto.STRING, number=2,)
password = proto.Field(proto.STRING, number=3,)
request_headers = proto.MapField(proto.STRING, proto.STRING, number=4,)
allowed_ca_certs = proto.RepeatedField(proto.BYTES, number=5,)

class ServiceDirectoryConfig(proto.Message):
r"""Represents configuration for a `Service
Expand Down