Class: Google::Apis::ComputeAlpha::NodeGroupsAddNodesRequest

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ NodeGroupsAddNodesRequest

Returns a new instance of NodeGroupsAddNodesRequest



18528
18529
18530
# File 'generated/google/apis/compute_alpha/classes.rb', line 18528

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#additional_node_countFixnum

Count of additional nodes to be added to the node group. Corresponds to the JSON property additionalNodeCount

Returns:

  • (Fixnum)


18526
18527
18528
# File 'generated/google/apis/compute_alpha/classes.rb', line 18526

def additional_node_count
  @additional_node_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18533
18534
18535
# File 'generated/google/apis/compute_alpha/classes.rb', line 18533

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