Class: Google::Apis::ComputeV1::NetworkProfileNetworkFeaturesPredefinedSubnetworkRange

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/compute_v1/classes.rb,
lib/google/apis/compute_v1/representations.rb,
lib/google/apis/compute_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NetworkProfileNetworkFeaturesPredefinedSubnetworkRange

Returns a new instance of NetworkProfileNetworkFeaturesPredefinedSubnetworkRange.



38321
38322
38323
# File 'lib/google/apis/compute_v1/classes.rb', line 38321

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#ipv6_rangeString

The IPv6 range of the predefined subnetwork. Corresponds to the JSON property ipv6Range

Returns:

  • (String)


38314
38315
38316
# File 'lib/google/apis/compute_v1/classes.rb', line 38314

def ipv6_range
  @ipv6_range
end

#name_prefixString

The naming prefix of the predefined subnetwork. Corresponds to the JSON property namePrefix

Returns:

  • (String)


38319
38320
38321
# File 'lib/google/apis/compute_v1/classes.rb', line 38319

def name_prefix
  @name_prefix
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



38326
38327
38328
38329
# File 'lib/google/apis/compute_v1/classes.rb', line 38326

def update!(**args)
  @ipv6_range = args[:ipv6_range] if args.key?(:ipv6_range)
  @name_prefix = args[:name_prefix] if args.key?(:name_prefix)
end