Class: Google::Apis::GkeonpremV1::BareMetalVipConfig

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

Overview

Specifies the VIP config for the bare metal load balancer.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BareMetalVipConfig

Returns a new instance of BareMetalVipConfig.



2066
2067
2068
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 2066

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

Instance Attribute Details

#control_plane_vipString

The VIP which you previously set aside for the Kubernetes API of this bare metal user cluster. Corresponds to the JSON property controlPlaneVip

Returns:

  • (String)


2058
2059
2060
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 2058

def control_plane_vip
  @control_plane_vip
end

#ingress_vipString

The VIP which you previously set aside for ingress traffic into this bare metal user cluster. Corresponds to the JSON property ingressVip

Returns:

  • (String)


2064
2065
2066
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 2064

def ingress_vip
  @ingress_vip
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2071
2072
2073
2074
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 2071

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