Class: Google::Compute::Data::ImagSourDiskEncrKeyApi
- Inherits:
-
ImagSourDiskEncrKey
- Object
- ImagSourDiskEncrKey
- Google::Compute::Data::ImagSourDiskEncrKeyApi
- 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
Instance Method Summary collapse
-
#initialize(args) ⇒ ImagSourDiskEncrKeyApi
constructor
A new instance of ImagSourDiskEncrKeyApi.
Methods inherited from ImagSourDiskEncrKey
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 |