Class: Google::Compute::Data::InstaTemplInitiParamCatalog
- Inherits:
-
InstaTemplInitiParam
- Object
- InstaTemplInitiParam
- Google::Compute::Data::InstaTemplInitiParamCatalog
- Defined in:
- lib/google/compute/property/instancetemplate_initialize_params.rb
Overview
Manages a InstaTemplInitiParam nested object Data is coming from the Puppet manifest
Instance Attribute Summary
Attributes inherited from InstaTemplInitiParam
#disk_name, #disk_size_gb, #disk_type, #source_image, #source_image_encryption_key
Instance Method Summary collapse
-
#initialize(args) ⇒ InstaTemplInitiParamCatalog
constructor
A new instance of InstaTemplInitiParamCatalog.
Methods inherited from InstaTemplInitiParam
Constructor Details
#initialize(args) ⇒ InstaTemplInitiParamCatalog
Returns a new instance of InstaTemplInitiParamCatalog.
121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 |
# File 'lib/google/compute/property/instancetemplate_initialize_params.rb', line 121 def initialize(args) @disk_name = Google::Compute::Property::String.unsafe_munge(args['disk_name']) @disk_size_gb = Google::Compute::Property::Integer.unsafe_munge( args['disk_size_gb'] ) @disk_type = Google::Compute::Property::DiskTypeSelfLinkRef.unsafe_munge( args['disk_type'] ) @source_image = Google::Compute::Property::String.unsafe_munge(args['source_image']) @source_image_encryption_key = Google::Compute::Property::InsTemSouImaEncKey.unsafe_munge( args['source_image_encryption_key'] ) end |