Class: Google::Compute::Data::InstaTemplNetwoInterCatalog

Inherits:
InstaTemplNetwoInter show all
Defined in:
lib/google/compute/property/instancetemplate_network_interfaces.rb

Overview

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

Instance Attribute Summary

Attributes inherited from InstaTemplNetwoInter

#access_configs, #alias_ip_ranges, #name, #network, #network_ip, #subnetwork

Instance Method Summary collapse

Methods inherited from InstaTemplNetwoInter

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

Constructor Details

#initialize(args) ⇒ InstaTemplNetwoInterCatalog

rubocop:disable Metrics/MethodLength



134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
# File 'lib/google/compute/property/instancetemplate_network_interfaces.rb', line 134

def initialize(args)
  @access_configs =
    Google::Compute::Property::InstaTemplAccesConfiArray.unsafe_munge(
      args['access_configs']
    )
  @alias_ip_ranges =
    Google::Compute::Property::InstTempAliaIpRangArray.unsafe_munge(
      args['alias_ip_ranges']
    )
  @name = Google::Compute::Property::String.unsafe_munge(args['name'])
  @network = Google::Compute::Property::NetwoSelfLinkRef.unsafe_munge(
    args['network']
  )
  @network_ip =
    Google::Compute::Property::String.unsafe_munge(args['network_ip'])
  @subnetwork =
    Google::Compute::Property::SubneSelfLinkRef.unsafe_munge(
      args['subnetwork']
    )
end