Class: Google::Apis::GkeonpremV1::BareMetalAdminControlPlaneNodePoolConfig

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

BareMetalAdminControlPlaneNodePoolConfig specifies the control plane node pool configuration. We have a control plane specific node pool config so that we can flexible about supporting control plane specific fields in the future.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BareMetalAdminControlPlaneNodePoolConfig

Returns a new instance of BareMetalAdminControlPlaneNodePoolConfig.



355
356
357
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 355

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



353
354
355
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 353

def node_pool_config
  @node_pool_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



360
361
362
# File 'lib/google/apis/gkeonprem_v1/classes.rb', line 360

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