Class: Google::Apis::DataprocV1::AuxiliaryNodeGroup

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

Overview

Node group identification and configuration information.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ AuxiliaryNodeGroup

Returns a new instance of AuxiliaryNodeGroup.



275
276
277
# File 'lib/google/apis/dataproc_v1/classes.rb', line 275

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

Instance Attribute Details

#node_groupGoogle::Apis::DataprocV1::NodeGroup

Dataproc Node Group. The Dataproc NodeGroup resource is not related to the Dataproc NodeGroupAffinity resource. Corresponds to the JSON property nodeGroup



265
266
267
# File 'lib/google/apis/dataproc_v1/classes.rb', line 265

def node_group
  @node_group
end

#node_group_idString

Optional. A node group ID. Generated if not specified.The ID must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of from 3 to 33 characters. Corresponds to the JSON property nodeGroupId

Returns:

  • (String)


273
274
275
# File 'lib/google/apis/dataproc_v1/classes.rb', line 273

def node_group_id
  @node_group_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



280
281
282
283
# File 'lib/google/apis/dataproc_v1/classes.rb', line 280

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