Class: Google::Apis::ComputeAlpha::NodeGroupsAddNodesRequest
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::NodeGroupsAddNodesRequest
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Instance Attribute Summary collapse
-
#additional_node_count ⇒ Fixnum
Count of additional nodes to be added to the node group.
Instance Method Summary collapse
-
#initialize(**args) ⇒ NodeGroupsAddNodesRequest
constructor
A new instance of NodeGroupsAddNodesRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ NodeGroupsAddNodesRequest
Returns a new instance of NodeGroupsAddNodesRequest.
28414 28415 28416 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 28414 def initialize(**args) update!(**args) end |
Instance Attribute Details
#additional_node_count ⇒ Fixnum
Count of additional nodes to be added to the node group.
Corresponds to the JSON property additionalNodeCount
28412 28413 28414 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 28412 def additional_node_count @additional_node_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
28419 28420 28421 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 28419 def update!(**args) @additional_node_count = args[:additional_node_count] if args.key?(:additional_node_count) end |