Class: Google::Apis::DataprocV1::RddOperationCluster
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::RddOperationCluster
- 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
-
#child_clusters ⇒ Array<Google::Apis::DataprocV1::RddOperationCluster>
Corresponds to the JSON property
childClusters. -
#child_nodes ⇒ Array<Google::Apis::DataprocV1::RddOperationNode>
Corresponds to the JSON property
childNodes. -
#name ⇒ String
Corresponds to the JSON property
name. -
#rdd_cluster_id ⇒ String
Corresponds to the JSON property
rddClusterId.
Instance Method Summary collapse
-
#initialize(**args) ⇒ RddOperationCluster
constructor
A new instance of RddOperationCluster.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RddOperationCluster
Returns a new instance of RddOperationCluster.
6580 6581 6582 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6580 def initialize(**args) update!(**args) end |
Instance Attribute Details
#child_clusters ⇒ Array<Google::Apis::DataprocV1::RddOperationCluster>
Corresponds to the JSON property childClusters
6563 6564 6565 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6563 def child_clusters @child_clusters end |
#child_nodes ⇒ Array<Google::Apis::DataprocV1::RddOperationNode>
Corresponds to the JSON property childNodes
6568 6569 6570 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6568 def child_nodes @child_nodes end |
#name ⇒ String
Corresponds to the JSON property name
6573 6574 6575 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6573 def name @name end |
#rdd_cluster_id ⇒ String
Corresponds to the JSON property rddClusterId
6578 6579 6580 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6578 def rdd_cluster_id @rdd_cluster_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6585 6586 6587 6588 6589 6590 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6585 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 |