Class: Google::Apis::HypercomputeclusterV1::CreateNodeset
- Inherits:
-
Object
- Object
- Google::Apis::HypercomputeclusterV1::CreateNodeset
- 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 created.
Instance Attribute Summary collapse
-
#nodesets ⇒ Array<String>
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CreateNodeset
constructor
A new instance of CreateNodeset.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CreateNodeset
Returns a new instance of CreateNodeset.
399 400 401 |
# File 'lib/google/apis/hypercomputecluster_v1/classes.rb', line 399 def initialize(**args) update!(**args) end |
Instance Attribute Details
#nodesets ⇒ Array<String>
Output only. Name of the nodeset to create
Corresponds to the JSON property nodesets
397 398 399 |
# File 'lib/google/apis/hypercomputecluster_v1/classes.rb', line 397 def nodesets @nodesets end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
404 405 406 |
# File 'lib/google/apis/hypercomputecluster_v1/classes.rb', line 404 def update!(**args) @nodesets = args[:nodesets] if args.key?(:nodesets) end |