Class: Google::Compute::Data::InstGrouManaNamePortCatalog

Inherits:
InstGrouManaNamePort show all
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

#name, #port

Instance Method Summary collapse

Methods inherited from InstGrouManaNamePort

#<=>, #==, #to_json, #to_s

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