Class: Google::Compute::Data::InstSourImagEncrKeyApi

Inherits:
InstSourImagEncrKey show all
Defined in:
lib/google/compute/property/instance_source_image_encryption_key.rb

Overview

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

Instance Attribute Summary

Attributes inherited from InstSourImagEncrKey

#raw_key, #sha256

Instance Method Summary collapse

Methods inherited from InstSourImagEncrKey

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

Constructor Details

#initialize(args) ⇒ InstSourImagEncrKeyApi

Returns a new instance of InstSourImagEncrKeyApi.



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