Class: Google::Compute::Data::InstancAccessConfigsApi

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 GCP API

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) ⇒ InstancAccessConfigsApi

Returns a new instance of InstancAccessConfigsApi.



91
92
93
94
95
96
97
# File 'lib/google/compute/property/instance_access_configs.rb', line 91

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