Class: Google::Compute::Data::InstGrouManaNamePortCatalog
- Inherits:
-
InstGrouManaNamePort
- Object
- InstGrouManaNamePort
- Google::Compute::Data::InstGrouManaNamePortCatalog
- Defined in:
- lib/google/compute/property/instancegroupmanager_named_ports.rb
Overview
Manages a InstGrouManaNamePort nested object Data is coming from the Puppet manifest
Instance Attribute Summary
Attributes inherited from InstGrouManaNamePort
Instance Method Summary collapse
-
#initialize(args) ⇒ InstGrouManaNamePortCatalog
constructor
A new instance of InstGrouManaNamePortCatalog.
Methods inherited from InstGrouManaNamePort
Constructor Details
#initialize(args) ⇒ InstGrouManaNamePortCatalog
Returns a new instance of InstGrouManaNamePortCatalog.
96 97 98 99 |
# File 'lib/google/compute/property/instancegroupmanager_named_ports.rb', line 96 def initialize(args) @name = Google::Compute::Property::String.unsafe_munge(args['name']) @port = Google::Compute::Property::Integer.unsafe_munge(args['port']) end |