Class: Google::Apis::HypercomputeclusterV1::UpdateNodeset

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/hypercomputecluster_v1/classes.rb,
lib/google/apis/hypercomputecluster_v1/representations.rb,
lib/google/apis/hypercomputecluster_v1/representations.rb

Overview

When set in OperationStep, indicates that a nodeset should be updated.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ UpdateNodeset

Returns a new instance of UpdateNodeset.



2118
2119
2120
# File 'lib/google/apis/hypercomputecluster_v1/classes.rb', line 2118

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

Instance Attribute Details

#nodesetsArray<String>

Output only. Name of the nodeset to update Corresponds to the JSON property nodesets

Returns:

  • (Array<String>)


2116
2117
2118
# File 'lib/google/apis/hypercomputecluster_v1/classes.rb', line 2116

def nodesets
  @nodesets
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2123
2124
2125
# File 'lib/google/apis/hypercomputecluster_v1/classes.rb', line 2123

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