class Google::Apis::PrivatecaV1::PublicKey
A PublicKey
describes a public key.
Attributes
format[RW]
Required. The format of the public key. Corresponds to the JSON property `format` @return [String]
key[RW]
Required. A public key. The padding and encoding must match with the ` KeyFormat` value specified for the `format` field. Corresponds to the JSON property `key` NOTE: Values are automatically base64 encoded/decoded in the client library. @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/privateca_v1/classes.rb, line 2001 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/privateca_v1/classes.rb, line 2006 def update!(**args) @format = args[:format] if args.key?(:format) @key = args[:key] if args.key?(:key) end