Class: Google::Apis::GkeonpremV1::BareMetalLoadBalancerNodePoolConfig

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) ⇒ BareMetalLoadBalancerNodePoolConfig

Returns a new instance of BareMetalLoadBalancerNodePoolConfig.



1591
1592
1593
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1591

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



1589
1590
1591
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1589

def node_pool_config
  @node_pool_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1596
1597
1598
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1596

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