Interface Tool.TLSConfig.CACertOrBuilder (0.66.0)

public static interface Tool.TLSConfig.CACertOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCert()

public abstract ByteString 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'")

bytes cert = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The cert.

getDisplayName()

public abstract String getDisplayName()

Required. The name of the allowed custom CA certificates. This can be used to disambiguate the custom CA certificates.

string display_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Required. The name of the allowed custom CA certificates. This can be used to disambiguate the custom CA certificates.

string display_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for displayName.