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