Class: Google::Compute::Data::FirewallAllowedCatalog

Inherits:
FirewallAllowed show all
Defined in:
lib/google/compute/property/firewall_allowed.rb

Overview

Manages a FirewallAllowed nested object Data is coming from the Puppet manifest

Instance Attribute Summary

Attributes inherited from FirewallAllowed

#ip_protocol, #ports

Instance Method Summary collapse

Methods inherited from FirewallAllowed

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

Constructor Details

#initialize(args) ⇒ FirewallAllowedCatalog

Returns a new instance of FirewallAllowedCatalog.



98
99
100
101
102
103
# File 'lib/google/compute/property/firewall_allowed.rb', line 98

def initialize(args)
  @ip_protocol =
    Google::Compute::Property::String.unsafe_munge(args['ip_protocol'])
  @ports =
    Google::Compute::Property::StringArray.unsafe_munge(args['ports'])
end