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

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



13001
13002
13003
# File 'generated/google/apis/compute_v1/classes.rb', line 13001

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)


12999
13000
13001
# File 'generated/google/apis/compute_v1/classes.rb', line 12999

def additional_node_count
  @additional_node_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13006
13007
13008
# File 'generated/google/apis/compute_v1/classes.rb', line 13006

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