Class: Google::Apis::ComputeAlpha::NetworkProfileNetworkFeaturesPredefinedSubnetworkRange

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NetworkProfileNetworkFeaturesPredefinedSubnetworkRange

Returns a new instance of NetworkProfileNetworkFeaturesPredefinedSubnetworkRange.



46433
46434
46435
# File 'lib/google/apis/compute_alpha/classes.rb', line 46433

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)


46426
46427
46428
# File 'lib/google/apis/compute_alpha/classes.rb', line 46426

def ipv6_range
  @ipv6_range
end

#name_prefixString

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

Returns:

  • (String)


46431
46432
46433
# File 'lib/google/apis/compute_alpha/classes.rb', line 46431

def name_prefix
  @name_prefix
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



46438
46439
46440
46441
# File 'lib/google/apis/compute_alpha/classes.rb', line 46438

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