Class: Google::Apis::ContainerV1::NodeDrainConfig
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::NodeDrainConfig
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/container_v1/classes.rb,
lib/google/apis/container_v1/representations.rb,
lib/google/apis/container_v1/representations.rb
Overview
NodeDrainConfig contains the node drain related configurations for this nodepool.
Instance Attribute Summary collapse
-
#respect_pdb_during_node_pool_deletion ⇒ Boolean
(also: #respect_pdb_during_node_pool_deletion?)
Whether to respect PDB during node pool deletion.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NodeDrainConfig
constructor
A new instance of NodeDrainConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NodeDrainConfig
Returns a new instance of NodeDrainConfig.
5754 5755 5756 |
# File 'lib/google/apis/container_v1/classes.rb', line 5754 def initialize(**args) update!(**args) end |
Instance Attribute Details
#respect_pdb_during_node_pool_deletion ⇒ Boolean Also known as: respect_pdb_during_node_pool_deletion?
Whether to respect PDB during node pool deletion.
Corresponds to the JSON property respectPdbDuringNodePoolDeletion
5751 5752 5753 |
# File 'lib/google/apis/container_v1/classes.rb', line 5751 def respect_pdb_during_node_pool_deletion @respect_pdb_during_node_pool_deletion end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5759 5760 5761 |
# File 'lib/google/apis/container_v1/classes.rb', line 5759 def update!(**args) @respect_pdb_during_node_pool_deletion = args[:respect_pdb_during_node_pool_deletion] if args.key?(:respect_pdb_during_node_pool_deletion) end |