Class: Google::Apis::CloudkmsV1::PublicKey
- Inherits:
-
Object
- Object
- Google::Apis::CloudkmsV1::PublicKey
- Defined in:
- generated/google/apis/cloudkms_v1/classes.rb,
generated/google/apis/cloudkms_v1/representations.rb,
generated/google/apis/cloudkms_v1/representations.rb
Overview
The public key for a given CryptoKeyVersion. Obtained via GetPublicKey.
Instance Attribute Summary collapse
-
#pem ⇒ String
The public key, encoded in PEM format.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PublicKey
constructor
A new instance of PublicKey.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ PublicKey
Returns a new instance of PublicKey
1025 1026 1027 |
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 1025 def initialize(**args) update!(**args) end |
Instance Attribute Details
#pem ⇒ String
The public key, encoded in PEM format. For more information, see the
RFC 7468 sections for
General Considerations and
Textual Encoding of Subject Public Key Info.
Corresponds to the JSON property pem
1023 1024 1025 |
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 1023 def pem @pem end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1030 1031 1032 |
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 1030 def update!(**args) @pem = args[:pem] if args.key?(:pem) end |