Class: Google::Apis::CloudkmsV1::WrappingPublicKey
- Inherits:
-
Object
- Object
- Google::Apis::CloudkmsV1::WrappingPublicKey
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudkms_v1/classes.rb,
lib/google/apis/cloudkms_v1/representations.rb,
lib/google/apis/cloudkms_v1/representations.rb
Overview
The public key component of the wrapping key. For details of the type of key this public key corresponds to, see the ImportMethod.
Instance Attribute Summary collapse
-
#pem ⇒ String
The public key, encoded in PEM format.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WrappingPublicKey
constructor
A new instance of WrappingPublicKey.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WrappingPublicKey
Returns a new instance of WrappingPublicKey.
2065 2066 2067 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 2065 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
2063 2064 2065 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 2063 def pem @pem end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2070 2071 2072 |
# File 'lib/google/apis/cloudkms_v1/classes.rb', line 2070 def update!(**args) @pem = args[:pem] if args.key?(:pem) end |