Class: Google::Apis::ContainerV1::NodeCreationConfig
- Inherits:
-
Object
- Object
- Google::Apis::ContainerV1::NodeCreationConfig
- 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
NodeCreationConfig defines the settings of node creation mode.
Instance Attribute Summary collapse
-
#node_creation_mode ⇒ String
The mode of node creation.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NodeCreationConfig
constructor
A new instance of NodeCreationConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NodeCreationConfig
Returns a new instance of NodeCreationConfig.
6497 6498 6499 |
# File 'lib/google/apis/container_v1/classes.rb', line 6497 def initialize(**args) update!(**args) end |
Instance Attribute Details
#node_creation_mode ⇒ String
The mode of node creation.
Corresponds to the JSON property nodeCreationMode
6495 6496 6497 |
# File 'lib/google/apis/container_v1/classes.rb', line 6495 def node_creation_mode @node_creation_mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6502 6503 6504 |
# File 'lib/google/apis/container_v1/classes.rb', line 6502 def update!(**args) @node_creation_mode = args[:node_creation_mode] if args.key?(:node_creation_mode) end |