Class: Google::Apis::ComputeBeta::NetworkProfileNetworkFeaturesPredefinedSubnetworkRange

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NetworkProfileNetworkFeaturesPredefinedSubnetworkRange

Returns a new instance of NetworkProfileNetworkFeaturesPredefinedSubnetworkRange.



41104
41105
41106
# File 'lib/google/apis/compute_beta/classes.rb', line 41104

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)


41097
41098
41099
# File 'lib/google/apis/compute_beta/classes.rb', line 41097

def ipv6_range
  @ipv6_range
end

#name_prefixString

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

Returns:

  • (String)


41102
41103
41104
# File 'lib/google/apis/compute_beta/classes.rb', line 41102

def name_prefix
  @name_prefix
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



41109
41110
41111
41112
# File 'lib/google/apis/compute_beta/classes.rb', line 41109

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