Class: Google::Apis::GkeonpremV1::BareMetalAdminControlPlaneNodePoolConfig
- Inherits:
-
Object
- Object
- Google::Apis::GkeonpremV1::BareMetalAdminControlPlaneNodePoolConfig
- 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
-
#node_pool_config ⇒ Google::Apis::GkeonpremV1::BareMetalNodePoolConfig
BareMetalNodePoolConfig describes the configuration of all nodes within a given bare metal node pool.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BareMetalAdminControlPlaneNodePoolConfig
constructor
A new instance of BareMetalAdminControlPlaneNodePoolConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_config ⇒ Google::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 |