Class: Google::Apis::CloudkmsV1::WrappingPublicKey

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
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

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ WrappingPublicKey

Returns a new instance of WrappingPublicKey.



1563
1564
1565
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 1563

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

Instance Attribute Details

#pemString

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

Returns:

  • (String)


1561
1562
1563
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 1561

def pem
  @pem
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1568
1569
1570
# File 'generated/google/apis/cloudkms_v1/classes.rb', line 1568

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