Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolTlsConfigCaCert
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ToolTlsConfigCaCert
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb
Overview
The CA certificate.
Instance Attribute Summary collapse
-
#cert ⇒ String
Required.
-
#display_name ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ToolTlsConfigCaCert
constructor
A new instance of GoogleCloudDialogflowCxV3beta1ToolTlsConfigCaCert.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ToolTlsConfigCaCert
Returns a new instance of GoogleCloudDialogflowCxV3beta1ToolTlsConfigCaCert.
13085 13086 13087 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13085 def initialize(**args) update!(**args) end |
Instance Attribute Details
#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, openssl x509 -req -days 200 -in example.com.csr \ -signkey
example.com.key \ -out example.com.crt \ -extfile <(printf "\nsubjectAltName='
DNS:www.example.com'")
Corresponds to the JSON property cert
NOTE: Values are automatically base64 encoded/decoded in the client library.
13077 13078 13079 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13077 def cert @cert end |
#display_name ⇒ String
Required. The name of the allowed custom CA certificates. This can be used to
disambiguate the custom CA certificates.
Corresponds to the JSON property displayName
13083 13084 13085 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13083 def display_name @display_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13090 13091 13092 13093 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 13090 def update!(**args) @cert = args[:cert] if args.key?(:cert) @display_name = args[:display_name] if args.key?(:display_name) end |