Class: Google::Compute::Data::InstaTemplGuestAccelCatalog
- Inherits:
-
InstaTemplGuestAccel
- Object
- InstaTemplGuestAccel
- Google::Compute::Data::InstaTemplGuestAccelCatalog
- Defined in:
- lib/google/compute/property/instancetemplate_guest_accelerators.rb
Overview
Manages a InstaTemplGuestAccel nested object Data is coming from the Puppet manifest
Instance Attribute Summary
Attributes inherited from InstaTemplGuestAccel
#accelerator_count, #accelerator_type
Instance Method Summary collapse
-
#initialize(args) ⇒ InstaTemplGuestAccelCatalog
constructor
A new instance of InstaTemplGuestAccelCatalog.
Methods inherited from InstaTemplGuestAccel
Constructor Details
#initialize(args) ⇒ InstaTemplGuestAccelCatalog
Returns a new instance of InstaTemplGuestAccelCatalog.
99 100 101 102 103 104 105 106 |
# File 'lib/google/compute/property/instancetemplate_guest_accelerators.rb', line 99 def initialize(args) @accelerator_count = Google::Compute::Property::Integer.unsafe_munge( args['accelerator_count'] ) @accelerator_type = Google::Compute::Property::String.unsafe_munge( args['accelerator_type'] ) end |