Class: Google::Apis::CloudkmsV1::WrappingPublicKey
- Inherits:
-
Object
- Object
- Google::Apis::CloudkmsV1::WrappingPublicKey
- 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 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.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ WrappingPublicKey
Returns a new instance of WrappingPublicKey
1456 1457 1458 |
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 1456 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
1454 1455 1456 |
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 1454 def pem @pem end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1461 1462 1463 |
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 1461 def update!(**args) @pem = args[:pem] if args.key?(:pem) end |