Class: Google::Compute::Data::InstTempDiskEncrKeyCatalog

Inherits:
InstTempDiskEncrKey show all
Defined in:
lib/google/compute/property/instancetemplate_disk_encryption_key.rb

Overview

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

Instance Attribute Summary

Attributes inherited from InstTempDiskEncrKey

#raw_key, #rsa_encrypted_key, #sha256

Instance Method Summary collapse

Methods inherited from InstTempDiskEncrKey

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

Constructor Details

#initialize(args) ⇒ InstTempDiskEncrKeyCatalog

Returns a new instance of InstTempDiskEncrKeyCatalog.



101
102
103
104
105
106
107
108
109
# File 'lib/google/compute/property/instancetemplate_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