Class: Google::Apis::PrivatecaV1beta1::CertificateFingerprint
- Inherits:
-
Object
- Object
- Google::Apis::PrivatecaV1beta1::CertificateFingerprint
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/privateca_v1beta1/classes.rb,
lib/google/apis/privateca_v1beta1/representations.rb,
lib/google/apis/privateca_v1beta1/representations.rb
Overview
A group of fingerprints for the x509 certificate.
Instance Attribute Summary collapse
-
#sha256_hash ⇒ String
The SHA 256 hash, encoded in hexadecimal, of the DER x509 certificate.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CertificateFingerprint
constructor
A new instance of CertificateFingerprint.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CertificateFingerprint
Returns a new instance of CertificateFingerprint.
768 769 770 |
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 768 def initialize(**args) update!(**args) end |
Instance Attribute Details
#sha256_hash ⇒ String
The SHA 256 hash, encoded in hexadecimal, of the DER x509 certificate.
Corresponds to the JSON property sha256Hash
766 767 768 |
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 766 def sha256_hash @sha256_hash end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
773 774 775 |
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 773 def update!(**args) @sha256_hash = args[:sha256_hash] if args.key?(:sha256_hash) end |