Class: Google::Apis::HypercomputeclusterV1::UpdateNodeset
- Inherits:
-
Object
- Object
- Google::Apis::HypercomputeclusterV1::UpdateNodeset
- 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
-
#nodesets ⇒ Array<String>
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UpdateNodeset
constructor
A new instance of UpdateNodeset.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#nodesets ⇒ Array<String>
Output only. Name of the nodeset to update
Corresponds to the JSON property nodesets
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 |