Reference documentation and code samples for the Dialogflow V2 API class Google::Cloud::Dialogflow::V2::Tool::TLSConfig::CACert.
The CA certificate.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#cert
def cert() -> ::String
Returns
-
(::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,
openssl x509 -req -days 200 -in example.com.csr \ -signkey example.com.key \ -out example.com.crt \ -extfile <(printf "\nsubjectAltName='DNS:www.example.com'")
#cert=
def cert=(value) -> ::String
Parameter
-
value (::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,
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
-
(::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,
openssl x509 -req -days 200 -in example.com.csr \ -signkey example.com.key \ -out example.com.crt \ -extfile <(printf "\nsubjectAltName='DNS:www.example.com'")
#display_name
def display_name() -> ::String
Returns
- (::String) — Required. The name of the allowed custom CA certificates. This can be used to disambiguate the custom CA certificates.
#display_name=
def display_name=(value) -> ::String
Parameter
- value (::String) — Required. The name of the allowed custom CA certificates. This can be used to disambiguate the custom CA certificates.
Returns
- (::String) — Required. The name of the allowed custom CA certificates. This can be used to disambiguate the custom CA certificates.