Class: Google::Compute::Data::InstaAliasIpRangeApi

Inherits:
InstaAliasIpRange show all
Defined in:
lib/google/compute/property/instance_alias_ip_ranges.rb

Overview

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

Instance Attribute Summary

Attributes inherited from InstaAliasIpRange

#ip_cidr_range, #subnetwork_range_name

Instance Method Summary collapse

Methods inherited from InstaAliasIpRange

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

Constructor Details

#initialize(args) ⇒ InstaAliasIpRangeApi

Returns a new instance of InstaAliasIpRangeApi.



87
88
89
90
91
92
93
# File 'lib/google/compute/property/instance_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