Class: Google::Apis::DataprocV1::RddOperationCluster

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

A grouping of nodes representing higher level constructs (stage, job etc.).

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RddOperationCluster

Returns a new instance of RddOperationCluster.



6307
6308
6309
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6307

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

Instance Attribute Details

#child_clustersArray<Google::Apis::DataprocV1::RddOperationCluster>

Corresponds to the JSON property childClusters



6290
6291
6292
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6290

def child_clusters
  @child_clusters
end

#child_nodesArray<Google::Apis::DataprocV1::RddOperationNode>

Corresponds to the JSON property childNodes



6295
6296
6297
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6295

def child_nodes
  @child_nodes
end

#nameString

Corresponds to the JSON property name

Returns:

  • (String)


6300
6301
6302
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6300

def name
  @name
end

#rdd_cluster_idString

Corresponds to the JSON property rddClusterId

Returns:

  • (String)


6305
6306
6307
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6305

def rdd_cluster_id
  @rdd_cluster_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6312
6313
6314
6315
6316
6317
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6312

def update!(**args)
  @child_clusters = args[:child_clusters] if args.key?(:child_clusters)
  @child_nodes = args[:child_nodes] if args.key?(:child_nodes)
  @name = args[:name] if args.key?(:name)
  @rdd_cluster_id = args[:rdd_cluster_id] if args.key?(:rdd_cluster_id)
end