Class: Google::Apis::ComputeAlpha::HaControllerNetworkingAutoConfigurationInternal

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

Overview

Internal networking configuration

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ HaControllerNetworkingAutoConfigurationInternal

Returns a new instance of HaControllerNetworkingAutoConfigurationInternal.



19646
19647
19648
# File 'lib/google/apis/compute_alpha/classes.rb', line 19646

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

Instance Attribute Details

#ip_addressString

Optional. IP addresses will be automatically allocated according to StackType if not provided. Corresponds to the JSON property ipAddress

Returns:

  • (String)


19633
19634
19635
# File 'lib/google/apis/compute_alpha/classes.rb', line 19633

def ip_address
  @ip_address
end

#ipv6_addressString

Corresponds to the JSON property ipv6Address

Returns:

  • (String)


19638
19639
19640
# File 'lib/google/apis/compute_alpha/classes.rb', line 19638

def ipv6_address
  @ipv6_address
end

#stack_typeString

Determine which IP addresses to automatically create. Field and option naming consistent with NetworkInterface configuration on Instances. Corresponds to the JSON property stackType

Returns:

  • (String)


19644
19645
19646
# File 'lib/google/apis/compute_alpha/classes.rb', line 19644

def stack_type
  @stack_type
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19651
19652
19653
19654
19655
# File 'lib/google/apis/compute_alpha/classes.rb', line 19651

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