Class: Google::Compute::Data::ImagSourDiskEncrKeyApi

Inherits:
ImagSourDiskEncrKey show all
Defined in:
lib/google/compute/property/image_source_disk_encryption_key.rb

Overview

Manages a ImagSourDiskEncrKey nested object Data is coming from the GCP API

Instance Attribute Summary

Attributes inherited from ImagSourDiskEncrKey

#raw_key, #sha256

Instance Method Summary collapse

Methods inherited from ImagSourDiskEncrKey

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

Constructor Details

#initialize(args) ⇒ ImagSourDiskEncrKeyApi

Returns a new instance of ImagSourDiskEncrKeyApi.



86
87
88
89
# File 'lib/google/compute/property/image_source_disk_encryption_key.rb', line 86

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