Class: Google::Compute::Data::DiskSourSnapEncrKeyApi

Inherits:
DiskSourSnapEncrKey show all
Defined in:
lib/google/compute/property/disk_source_snapshot_encryption_key.rb

Overview

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

Instance Attribute Summary

Attributes inherited from DiskSourSnapEncrKey

#raw_key, #sha256

Instance Method Summary collapse

Methods inherited from DiskSourSnapEncrKey

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

Constructor Details

#initialize(args) ⇒ DiskSourSnapEncrKeyApi

Returns a new instance of DiskSourSnapEncrKeyApi.



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