Class: Google::Apis::GkeonpremV1::BareMetalAdminLoadBalancerNodePoolConfig

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 load balancer's node pool configuration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BareMetalAdminLoadBalancerNodePoolConfig

Returns a new instance of BareMetalAdminLoadBalancerNodePoolConfig.



609
610
611
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 609

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

Instance Attribute Details

#node_pool_configGoogle::Apis::GkeonpremV1::BareMetalNodePoolConfig

BareMetalNodePoolConfig describes the configuration of all nodes within a given bare metal node pool. Corresponds to the JSON property nodePoolConfig



607
608
609
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 607

def node_pool_config
  @node_pool_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



614
615
616
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 614

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