Class: Google::Compute::Data::ImageRawDiskCatalog

Inherits:
ImageRawDisk
  • Object
show all
Defined in:
lib/google/compute/property/image_raw_disk.rb

Overview

Manages a ImageRawDisk nested object Data is coming from the Puppet manifest

Instance Attribute Summary

Attributes inherited from ImageRawDisk

#container_type, #sha1_checksum, #source

Instance Method Summary collapse

Methods inherited from ImageRawDisk

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

Constructor Details

#initialize(args) ⇒ ImageRawDiskCatalog

Returns a new instance of ImageRawDiskCatalog.



102
103
104
105
106
107
108
109
110
# File 'lib/google/compute/property/image_raw_disk.rb', line 102

def initialize(args)
  @container_type =
    Google::Compute::Property::Enum.unsafe_munge(args['container_type'])
  @sha1_checksum = Google::Compute::Property::String.unsafe_munge(
    args['sha1_checksum']
  )
  @source =
    Google::Compute::Property::String.unsafe_munge(args['source'])
end