Class: Google::Compute::Data::InstancAccessConfigsCatalog

Inherits:
InstancAccessConfigs show all
Defined in:
lib/google/compute/property/instance_access_configs.rb

Overview

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

Instance Attribute Summary

Attributes inherited from InstancAccessConfigs

#name, #nat_ip, #type

Instance Method Summary collapse

Methods inherited from InstancAccessConfigs

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

Constructor Details

#initialize(args) ⇒ InstancAccessConfigsCatalog

Returns a new instance of InstancAccessConfigsCatalog.



103
104
105
106
107
108
109
# File 'lib/google/compute/property/instance_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