Class: Google::Compute::Data::InstaTemplAccesConfiCatalog

Inherits:
InstaTemplAccesConfi show all
Defined in:
lib/google/compute/property/instancetemplate_access_configs.rb

Overview

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

Instance Attribute Summary

Attributes inherited from InstaTemplAccesConfi

#name, #nat_ip, #type

Instance Method Summary collapse

Methods inherited from InstaTemplAccesConfi

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

Constructor Details

#initialize(args) ⇒ InstaTemplAccesConfiCatalog

Returns a new instance of InstaTemplAccesConfiCatalog.



103
104
105
106
107
108
109
# File 'lib/google/compute/property/instancetemplate_access_configs.rb', line 103

def initialize(args)
  @name = Google::Compute::Property::String.unsafe_munge(args['name'])
  @nat_ip = Google::Compute::Property::AddressAddressRef.unsafe_munge(
    args['nat_ip']
  )
  @type = Google::Compute::Property::Enum.unsafe_munge(args['type'])
end