Class: Google::Compute::Data::InstTempDiskEncrKeyApi
- Inherits:
-
InstTempDiskEncrKey
- Object
- InstTempDiskEncrKey
- Google::Compute::Data::InstTempDiskEncrKeyApi
- Defined in:
- lib/google/compute/property/instancetemplate_disk_encryption_key.rb
Overview
Manages a InstTempDiskEncrKey nested object Data is coming from the GCP API
Instance Attribute Summary
Attributes inherited from InstTempDiskEncrKey
#raw_key, #rsa_encrypted_key, #sha256
Instance Method Summary collapse
-
#initialize(args) ⇒ InstTempDiskEncrKeyApi
constructor
A new instance of InstTempDiskEncrKeyApi.
Methods inherited from InstTempDiskEncrKey
Constructor Details
#initialize(args) ⇒ InstTempDiskEncrKeyApi
Returns a new instance of InstTempDiskEncrKeyApi.
90 91 92 93 94 95 |
# File 'lib/google/compute/property/instancetemplate_disk_encryption_key.rb', line 90 def initialize(args) @raw_key = Google::Compute::Property::String.api_munge(args['rawKey']) @rsa_encrypted_key = Google::Compute::Property::String.api_munge(args['rsaEncryptedKey']) @sha256 = Google::Compute::Property::String.api_munge(args['sha256']) end |