Class: Google::Compute::Data::InstancGuestAccelerCatalog
- Inherits:
-
InstancGuestAcceler
- Object
- InstancGuestAcceler
- Google::Compute::Data::InstancGuestAccelerCatalog
- Defined in:
- lib/google/compute/property/instance_guest_accelerators.rb
Overview
Manages a InstancGuestAcceler nested object Data is coming from the Puppet manifest
Instance Attribute Summary
Attributes inherited from InstancGuestAcceler
#accelerator_count, #accelerator_type
Instance Method Summary collapse
-
#initialize(args) ⇒ InstancGuestAccelerCatalog
constructor
A new instance of InstancGuestAccelerCatalog.
Methods inherited from InstancGuestAcceler
Constructor Details
#initialize(args) ⇒ InstancGuestAccelerCatalog
Returns a new instance of InstancGuestAccelerCatalog.
99 100 101 102 103 104 105 106 |
# File 'lib/google/compute/property/instance_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 |