Class: Google::Apis::CesV1::ClientCertificateSettings
- Inherits:
-
Object
- Object
- Google::Apis::CesV1::ClientCertificateSettings
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/ces_v1/classes.rb,
lib/google/apis/ces_v1/representations.rb,
lib/google/apis/ces_v1/representations.rb
Overview
Settings for custom client certificates.
Instance Attribute Summary collapse
-
#passphrase ⇒ String
Optional.
-
#private_key ⇒ String
Required.
-
#tls_certificate ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ClientCertificateSettings
constructor
A new instance of ClientCertificateSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ClientCertificateSettings
Returns a new instance of ClientCertificateSettings.
1744 1745 1746 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1744 def initialize(**args) update!(**args) end |
Instance Attribute Details
#passphrase ⇒ String
Optional. The name of the SecretManager secret version resource storing the
passphrase to decrypt the private key. Should be left unset if the private key
is not encrypted. Format: projects/project/secrets/secret/versions/
version`
Corresponds to the JSON propertypassphrase`
1729 1730 1731 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1729 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 propertyprivateKey`
1736 1737 1738 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1736 def private_key @private_key end |
#tls_certificate ⇒ String
Required. The TLS certificate encoded in PEM format. This string must include
the begin header and end footer lines.
Corresponds to the JSON property tlsCertificate
1742 1743 1744 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1742 def tls_certificate @tls_certificate end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1749 1750 1751 1752 1753 |
# File 'lib/google/apis/ces_v1/classes.rb', line 1749 def update!(**args) @passphrase = args[:passphrase] if args.key?(:passphrase) @private_key = args[:private_key] if args.key?(:private_key) @tls_certificate = args[:tls_certificate] if args.key?(:tls_certificate) end |