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.



1400
1401
1402
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1400

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



1398
1399
1400
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1398

def node_pool_config
  @node_pool_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1405
1406
1407
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 1405

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