Class: Google::Apis::CertificatemanagerV1::AllowlistedCertificate
- Inherits:
-
Object
- Object
- Google::Apis::CertificatemanagerV1::AllowlistedCertificate
- 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 an allowlisted certificate.
Instance Attribute Summary collapse
-
#pem_certificate ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ AllowlistedCertificate
constructor
A new instance of AllowlistedCertificate.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ AllowlistedCertificate
Returns a new instance of AllowlistedCertificate.
35 36 37 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 35 def initialize(**args) update!(**args) end |
Instance Attribute Details
#pem_certificate ⇒ String
Required. PEM certificate that is allowlisted. The certificate can be up to 5k
bytes, and must be a parseable X.509 certificate.
Corresponds to the JSON property pemCertificate
33 34 35 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 33 def pem_certificate @pem_certificate end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
40 41 42 |
# File 'lib/google/apis/certificatemanager_v1/classes.rb', line 40 def update!(**args) @pem_certificate = args[:pem_certificate] if args.key?(:pem_certificate) end |