Reference documentation and code samples for the Google Cloud Dialogflow V2 Client class CACert.
The CA certificate.
Generated from protobuf message google.cloud.dialogflow.v2.Tool.TLSConfig.CACert
Namespace
Google \ Cloud \ Dialogflow \ V2 \ Tool \ TLSConfigMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ display_name |
string
Required. The name of the allowed custom CA certificates. This can be used to disambiguate the custom CA certificates. |
↳ cert |
string
Required. The 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, |
getDisplayName
Required. The name of the allowed custom CA certificates. This can be used to disambiguate the custom CA certificates.
| Returns | |
|---|---|
| Type | Description |
string |
|
setDisplayName
Required. The name of the allowed custom CA certificates. This can be used to disambiguate the custom CA certificates.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getCert
Required. The 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'")
| Returns | |
|---|---|
| Type | Description |
string |
|
setCert
Required. The 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'")
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|