Class: Google::Apis::PrivatecaV1beta1::KeyId

Inherits:
Object
  • Object
show all
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 KeyId identifies a specific public key, usually by hashing the public key.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ KeyId

Returns a new instance of KeyId.



2197
2198
2199
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 2197

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#key_idString

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

Returns:

  • (String)


2195
2196
2197
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 2195

def key_id
  @key_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2202
2203
2204
# File 'lib/google/apis/privateca_v1beta1/classes.rb', line 2202

def update!(**args)
  @key_id = args[:key_id] if args.key?(:key_id)
end