Class: Google::Compute::Data::InstaDiskEncryKeyApi
- Inherits:
-
InstaDiskEncryKey
- Object
- InstaDiskEncryKey
- Google::Compute::Data::InstaDiskEncryKeyApi
- Defined in:
- lib/google/compute/property/instance_disk_encryption_key.rb
Overview
Manages a InstaDiskEncryKey nested object Data is coming from the GCP API
Instance Attribute Summary
Attributes inherited from InstaDiskEncryKey
#raw_key, #rsa_encrypted_key, #sha256
Instance Method Summary collapse
-
#initialize(args) ⇒ InstaDiskEncryKeyApi
constructor
A new instance of InstaDiskEncryKeyApi.
Methods inherited from InstaDiskEncryKey
Constructor Details
#initialize(args) ⇒ InstaDiskEncryKeyApi
Returns a new instance of InstaDiskEncryKeyApi.
90 91 92 93 94 95 |
# File 'lib/google/compute/property/instance_disk_encryption_key.rb', line 90 def initialize(args) @raw_key = Google::Compute::Property::String.api_munge(args['rawKey']) @rsa_encrypted_key = Google::Compute::Property::String.api_munge(args['rsaEncryptedKey']) @sha256 = Google::Compute::Property::String.api_munge(args['sha256']) end |