Class: Google::Compute::Data::DiskSourImagEncrKeyApi
- Inherits:
-
DiskSourImagEncrKey
- Object
- DiskSourImagEncrKey
- Google::Compute::Data::DiskSourImagEncrKeyApi
- Defined in:
- lib/google/compute/property/disk_source_image_encryption_key.rb
Overview
Manages a DiskSourImagEncrKey nested object Data is coming from the GCP API
Instance Attribute Summary
Attributes inherited from DiskSourImagEncrKey
Instance Method Summary collapse
-
#initialize(args) ⇒ DiskSourImagEncrKeyApi
constructor
A new instance of DiskSourImagEncrKeyApi.
Methods inherited from DiskSourImagEncrKey
Constructor Details
#initialize(args) ⇒ DiskSourImagEncrKeyApi
Returns a new instance of DiskSourImagEncrKeyApi.
86 87 88 89 |
# File 'lib/google/compute/property/disk_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 |