Class: Google::Apis::PrivatecaV1beta1::KeyId
- Inherits:
-
Object
- Object
- Google::Apis::PrivatecaV1beta1::KeyId
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/privateca_v1beta1/classes.rb,
generated/google/apis/privateca_v1beta1/representations.rb,
generated/google/apis/privateca_v1beta1/representations.rb
Overview
A KeyId identifies a specific public key, usually by hashing the public key.
Instance Attribute Summary collapse
-
#key_id ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ KeyId
constructor
A new instance of KeyId.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ KeyId
Returns a new instance of KeyId.
1127 1128 1129 |
# File 'generated/google/apis/privateca_v1beta1/classes.rb', line 1127 def initialize(**args) update!(**args) end |
Instance Attribute Details
#key_id ⇒ String
Optional. 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
1125 1126 1127 |
# File 'generated/google/apis/privateca_v1beta1/classes.rb', line 1125 def key_id @key_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1132 1133 1134 |
# File 'generated/google/apis/privateca_v1beta1/classes.rb', line 1132 def update!(**args) @key_id = args[:key_id] if args.key?(:key_id) end |