Class: Google::Apis::ComputeAlpha::HaControllerNetworkingAutoConfigurationInternal
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::HaControllerNetworkingAutoConfigurationInternal
- 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
Overview
Internal networking configuration
Instance Attribute Summary collapse
-
#ip_address ⇒ String
Optional.
-
#ipv6_address ⇒ String
Corresponds to the JSON property
ipv6Address. -
#stack_type ⇒ String
Determine which IP addresses to automatically create.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HaControllerNetworkingAutoConfigurationInternal
constructor
A new instance of HaControllerNetworkingAutoConfigurationInternal.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ HaControllerNetworkingAutoConfigurationInternal
Returns a new instance of HaControllerNetworkingAutoConfigurationInternal.
16616 16617 16618 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 16616 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ip_address ⇒ String
Optional. IP addresses will be automatically allocated according to StackType
if not provided.
Corresponds to the JSON property ipAddress
16603 16604 16605 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 16603 def ip_address @ip_address end |
#ipv6_address ⇒ String
Corresponds to the JSON property ipv6Address
16608 16609 16610 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 16608 def ipv6_address @ipv6_address end |
#stack_type ⇒ String
Determine which IP addresses to automatically create. Field and option naming
consistent with NetworkInterface configuration on Instances.
Corresponds to the JSON property stackType
16614 16615 16616 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 16614 def stack_type @stack_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
16621 16622 16623 16624 16625 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 16621 def update!(**args) @ip_address = args[:ip_address] if args.key?(:ip_address) @ipv6_address = args[:ipv6_address] if args.key?(:ipv6_address) @stack_type = args[:stack_type] if args.key?(:stack_type) end |