Class: Google::Apis::HypercomputeclusterV1::CreateNodeset

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 created.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nodesetsArray<String>

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

Returns:

  • (Array<String>)


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