Class: Google::Compute::Data::DiskSourSnapEncrKeyCatalog

Inherits:
DiskSourSnapEncrKey show all
Defined in:
lib/google/compute/property/disk_source_snapshot_encryption_key.rb

Overview

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

Instance Attribute Summary

Attributes inherited from DiskSourSnapEncrKey

#raw_key, #sha256

Instance Method Summary collapse

Methods inherited from DiskSourSnapEncrKey

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

Constructor Details

#initialize(args) ⇒ DiskSourSnapEncrKeyCatalog

Returns a new instance of DiskSourSnapEncrKeyCatalog.



95
96
97
98
99
100
# File 'lib/google/compute/property/disk_source_snapshot_encryption_key.rb', line 95

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