Class: Google::Compute::Data::InstaDiskEncryKeyCatalog

Inherits:
InstaDiskEncryKey show all
Defined in:
lib/google/compute/property/instance_disk_encryption_key.rb

Overview

Manages a InstaDiskEncryKey nested object Data is coming from the Puppet manifest

Instance Attribute Summary

Attributes inherited from InstaDiskEncryKey

#raw_key, #rsa_encrypted_key, #sha256

Instance Method Summary collapse

Methods inherited from InstaDiskEncryKey

#<=>, #==, #to_json, #to_s

Constructor Details

#initialize(args) ⇒ InstaDiskEncryKeyCatalog

Returns a new instance of InstaDiskEncryKeyCatalog.



101
102
103
104
105
106
107
108
109
# File 'lib/google/compute/property/instance_disk_encryption_key.rb', line 101

def initialize(args)
  @raw_key =
    Google::Compute::Property::String.unsafe_munge(args['raw_key'])
  @rsa_encrypted_key = Google::Compute::Property::String.unsafe_munge(
    args['rsa_encrypted_key']
  )
  @sha256 =
    Google::Compute::Property::String.unsafe_munge(args['sha256'])
end