Class: Google::Compute::Data::InstaTemplNetwoInterApi
- Inherits:
-
InstaTemplNetwoInter
- Object
- InstaTemplNetwoInter
- Google::Compute::Data::InstaTemplNetwoInterApi
- Defined in:
- lib/google/compute/property/instancetemplate_network_interfaces.rb
Overview
Manages a InstaTemplNetwoInter nested object Data is coming from the GCP API
Instance Attribute Summary
Attributes inherited from InstaTemplNetwoInter
#access_configs, #alias_ip_ranges, #name, #network, #network_ip, #subnetwork
Instance Method Summary collapse
-
#initialize(args) ⇒ InstaTemplNetwoInterApi
constructor
rubocop:disable Metrics/MethodLength.
Methods inherited from InstaTemplNetwoInter
Constructor Details
#initialize(args) ⇒ InstaTemplNetwoInterApi
rubocop:disable Metrics/MethodLength
108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 |
# File 'lib/google/compute/property/instancetemplate_network_interfaces.rb', line 108 def initialize(args) @access_configs = Google::Compute::Property::InstaTemplAccesConfiArray.api_munge( args['accessConfigs'] ) @alias_ip_ranges = Google::Compute::Property::InstTempAliaIpRangArray.api_munge( args['aliasIpRanges'] ) @name = Google::Compute::Property::String.api_munge(args['name']) @network = Google::Compute::Property::NetwoSelfLinkRef.api_munge( args['network'] ) @network_ip = Google::Compute::Property::String.api_munge(args['networkIP']) @subnetwork = Google::Compute::Property::SubneSelfLinkRef.api_munge( args['subnetwork'] ) end |