Class: Google::Compute::Data::InstTempAliaIpRangApi

Inherits:
InstTempAliaIpRang show all
Defined in:
lib/google/compute/property/instancetemplate_alias_ip_ranges.rb

Overview

Manages a InstTempAliaIpRang nested object Data is coming from the GCP API

Instance Attribute Summary

Attributes inherited from InstTempAliaIpRang

#ip_cidr_range, #subnetwork_range_name

Instance Method Summary collapse

Methods inherited from InstTempAliaIpRang

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

Constructor Details

#initialize(args) ⇒ InstTempAliaIpRangApi

Returns a new instance of InstTempAliaIpRangApi.



87
88
89
90
91
92
93
# File 'lib/google/compute/property/instancetemplate_alias_ip_ranges.rb', line 87

def initialize(args)
  @ip_cidr_range =
    Google::Compute::Property::String.api_munge(args['ipCidrRange'])
  @subnetwork_range_name = Google::Compute::Property::String.api_munge(
    args['subnetworkRangeName']
  )
end