Class: Google::Apis::GkeonpremV1::BareMetalAdminVipConfig

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
more...

Overview

BareMetalAdminVipConfig for bare metal load balancer configurations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BareMetalAdminVipConfig

Returns a new instance of BareMetalAdminVipConfig.

[View source]

723
724
725
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 723

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 admin cluster. Corresponds to the JSON property controlPlaneVip

Returns:

  • (String)

721
722
723
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 721

def control_plane_vip
  @control_plane_vip
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object

[View source]

728
729
730
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 728

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