Class: Google::Apis::CertificatemanagerV1::TrustAnchor
- Inherits:
-
Object
- Object
- Google::Apis::CertificatemanagerV1::TrustAnchor
- 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
Defines a trust anchor.
Instance Attribute Summary collapse
-
#pem_certificate ⇒ String
PEM root certificate of the PKI used for validation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TrustAnchor
constructor
A new instance of TrustAnchor.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TrustAnchor
Returns a new instance of TrustAnchor.
1199 1200 1201 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 1199 def initialize(**args) update!(**args) end |
Instance Attribute Details
#pem_certificate ⇒ String
PEM root certificate of the PKI used for validation. Each certificate provided
in PEM format may occupy up to 5kB.
Corresponds to the JSON property pemCertificate
1197 1198 1199 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 1197 def pem_certificate @pem_certificate end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1204 1205 1206 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 1204 def update!(**args) @pem_certificate = args[:pem_certificate] if args.key?(:pem_certificate) end |