Class: Google::Apis::DataprocV1::SparkPlanGraphNodeWrapper
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::SparkPlanGraphNodeWrapper
- 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
Wrapper user to represent either a node or a cluster.
Instance Attribute Summary collapse
-
#cluster ⇒ Google::Apis::DataprocV1::SparkPlanGraphCluster
Represents a tree of spark plan.
-
#node ⇒ Google::Apis::DataprocV1::SparkPlanGraphNode
Represents a node in the spark plan tree.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SparkPlanGraphNodeWrapper
constructor
A new instance of SparkPlanGraphNodeWrapper.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SparkPlanGraphNodeWrapper
Returns a new instance of SparkPlanGraphNodeWrapper.
8594 8595 8596 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8594 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cluster ⇒ Google::Apis::DataprocV1::SparkPlanGraphCluster
Represents a tree of spark plan.
Corresponds to the JSON property cluster
8587 8588 8589 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8587 def cluster @cluster end |
#node ⇒ Google::Apis::DataprocV1::SparkPlanGraphNode
Represents a node in the spark plan tree.
Corresponds to the JSON property node
8592 8593 8594 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8592 def node @node end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8599 8600 8601 8602 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8599 def update!(**args) @cluster = args[:cluster] if args.key?(:cluster) @node = args[:node] if args.key?(:node) end |