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.



2127
2128
2129
# File 'lib/google/apis/hypercomputecluster_v1/classes.rb', line 2127

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>)


2125
2126
2127
# File 'lib/google/apis/hypercomputecluster_v1/classes.rb', line 2125

def nodesets
  @nodesets
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2132
2133
2134
# File 'lib/google/apis/hypercomputecluster_v1/classes.rb', line 2132

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