Class: Google::Compute::Data::ImageImageEncryKeyApi

Inherits:
ImageImageEncryKey show all
Defined in:
lib/google/compute/property/image_image_encryption_key.rb

Overview

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

Instance Attribute Summary

Attributes inherited from ImageImageEncryKey

#raw_key, #sha256

Instance Method Summary collapse

Methods inherited from ImageImageEncryKey

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

Constructor Details

#initialize(args) ⇒ ImageImageEncryKeyApi

Returns a new instance of ImageImageEncryKeyApi.



86
87
88
89
# File 'lib/google/compute/property/image_image_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