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.
701 702 703 |
# File 'lib/google/apis/privateca_v1/classes.rb', line 701 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
699 700 701 |
# File 'lib/google/apis/privateca_v1/classes.rb', line 699 def key_id @key_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
706 707 708 |
# File 'lib/google/apis/privateca_v1/classes.rb', line 706 def update!(**args) @key_id = args[:key_id] if args.key?(:key_id) end |