Class: Google::Apis::PrivatecaV1::CertificateConfigKeyId
- Inherits:
-
Object
- Object
- Google::Apis::PrivatecaV1::CertificateConfigKeyId
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/privateca_v1/classes.rb,
lib/google/apis/privateca_v1/representations.rb,
lib/google/apis/privateca_v1/representations.rb
Overview
A KeyId identifies a specific public key, usually by hashing the public key.
Instance Attribute Summary collapse
-
#key_id ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CertificateConfigKeyId
constructor
A new instance of CertificateConfigKeyId.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CertificateConfigKeyId
Returns a new instance of CertificateConfigKeyId.
718 719 720 |
# File 'lib/google/apis/privateca_v1/classes.rb', line 718 def initialize(**args) update!(**args) end |
Instance Attribute Details
#key_id ⇒ String
Required. The value of this KeyId encoded in lowercase hexadecimal. This is
most likely the 160 bit SHA-1 hash of the public key.
Corresponds to the JSON property keyId
716 717 718 |
# File 'lib/google/apis/privateca_v1/classes.rb', line 716 def key_id @key_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
723 724 725 |
# File 'lib/google/apis/privateca_v1/classes.rb', line 723 def update!(**args) @key_id = args[:key_id] if args.key?(:key_id) end |