Class: Google::Apis::ComputeV1::NodeGroupsAddNodesRequest

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ NodeGroupsAddNodesRequest

Returns a new instance of NodeGroupsAddNodesRequest.



19004
19005
19006
# File 'generated/google/apis/compute_v1/classes.rb', line 19004

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)


19002
19003
19004
# File 'generated/google/apis/compute_v1/classes.rb', line 19002

def additional_node_count
  @additional_node_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



19009
19010
19011
# File 'generated/google/apis/compute_v1/classes.rb', line 19009

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