Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AgentClientCertificateSettings
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3AgentClientCertificateSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb
Overview
Settings for custom client certificates.
Instance Attribute Summary collapse
-
#passphrase ⇒ String
Optional.
-
#private_key ⇒ String
Required.
-
#ssl_certificate ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3AgentClientCertificateSettings
constructor
A new instance of GoogleCloudDialogflowCxV3AgentClientCertificateSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3AgentClientCertificateSettings
Returns a new instance of GoogleCloudDialogflowCxV3AgentClientCertificateSettings.
414 415 416 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 414 def initialize(**args) update!(**args) end |
Instance Attribute Details
#passphrase ⇒ String
Optional. The name of the SecretManager secret version resource storing the
passphrase. 'passphrase' should be left unset if the private key is not
encrypted. Format: projects/
project/secrets/
secret/versions/
version`
Corresponds to the JSON property
passphrase`
399 400 401 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 399 def passphrase @passphrase end |
#private_key ⇒ String
Required. The name of the SecretManager secret version resource storing the
private key encoded in PEM format. Format: projects/
project/secrets/
secret
/versions/
version`
Corresponds to the JSON property
privateKey`
406 407 408 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 406 def private_key @private_key end |
#ssl_certificate ⇒ String
Required. The ssl certificate encoded in PEM format. This string must include
the begin header and end footer lines.
Corresponds to the JSON property sslCertificate
412 413 414 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 412 def ssl_certificate @ssl_certificate end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
419 420 421 422 423 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 419 def update!(**args) @passphrase = args[:passphrase] if args.key?(:passphrase) @private_key = args[:private_key] if args.key?(:private_key) @ssl_certificate = args[:ssl_certificate] if args.key?(:ssl_certificate) end |