Class: Google::Apis::CertificatemanagerV1::SelfManagedCertificate
- Inherits:
-
Object
- Object
- Google::Apis::CertificatemanagerV1::SelfManagedCertificate
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/certificatemanager_v1/classes.rb,
lib/google/apis/certificatemanager_v1/representations.rb,
lib/google/apis/certificatemanager_v1/representations.rb
Overview
Certificate data for a SelfManaged Certificate. SelfManaged Certificates are uploaded by the user. Updating such certificates before they expire remains the user's responsibility.
Instance Attribute Summary collapse
-
#pem_certificate ⇒ String
Optional.
-
#pem_private_key ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SelfManagedCertificate
constructor
A new instance of SelfManagedCertificate.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SelfManagedCertificate
Returns a new instance of SelfManagedCertificate.
1311 1312 1313 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 1311 def initialize(**args) update!(**args) end |
Instance Attribute Details
#pem_certificate ⇒ String
Optional. Input only. The PEM-encoded certificate chain. Leaf certificate
comes first, followed by intermediate ones if any.
Corresponds to the JSON property pemCertificate
1304 1305 1306 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 1304 def pem_certificate @pem_certificate end |
#pem_private_key ⇒ String
Optional. Input only. The PEM-encoded private key of the leaf certificate.
Corresponds to the JSON property pemPrivateKey
1309 1310 1311 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 1309 def pem_private_key @pem_private_key end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1316 1317 1318 1319 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 1316 def update!(**args) @pem_certificate = args[:pem_certificate] if args.key?(:pem_certificate) @pem_private_key = args[:pem_private_key] if args.key?(:pem_private_key) end |