Class: Google::Compute::Data::ImageRawDiskApi

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 GCP API

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) ⇒ ImageRawDiskApi

Returns a new instance of ImageRawDiskApi.



90
91
92
93
94
95
96
# File 'lib/google/compute/property/image_raw_disk.rb', line 90

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