Class: Google::Compute::Data::InstanceDisksCatalog
- Inherits:
-
InstanceDisks
- Object
- InstanceDisks
- Google::Compute::Data::InstanceDisksCatalog
- Defined in:
- lib/google/compute/property/instance_disks.rb
Overview
Manages a InstanceDisks nested object Data is coming from the Puppet manifest
Instance Attribute Summary
Attributes inherited from InstanceDisks
#auto_delete, #boot, #device_name, #disk_encryption_key, #index, #initialize_params, #interface, #mode, #source, #type
Instance Method Summary collapse
-
#initialize(args) ⇒ InstanceDisksCatalog
constructor
rubocop:disable Metrics/MethodLength.
Methods inherited from InstanceDisks
Constructor Details
#initialize(args) ⇒ InstanceDisksCatalog
rubocop:disable Metrics/MethodLength
149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 |
# File 'lib/google/compute/property/instance_disks.rb', line 149 def initialize(args) @auto_delete = Google::Compute::Property::Boolean.unsafe_munge(args['auto_delete']) @boot = Google::Compute::Property::Boolean.unsafe_munge(args['boot']) @device_name = Google::Compute::Property::String.unsafe_munge(args['device_name']) @disk_encryption_key = Google::Compute::Property::InstaDiskEncryKey.unsafe_munge( args['disk_encryption_key'] ) @index = Google::Compute::Property::Integer.unsafe_munge(args['index']) @initialize_params = Google::Compute::Property::InstancInitialParams.unsafe_munge( args['initialize_params'] ) @interface = Google::Compute::Property::Enum.unsafe_munge(args['interface']) @mode = Google::Compute::Property::Enum.unsafe_munge(args['mode']) @source = Google::Compute::Property::DiskSelfLinkRef.unsafe_munge( args['source'] ) @type = Google::Compute::Property::Enum.unsafe_munge(args['type']) end |