Class: Google::Apis::DataprocV1::SparkPlanGraphNode
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::SparkPlanGraphNode
- 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
Represents a node in the spark plan tree.
Instance Attribute Summary collapse
-
#desc ⇒ String
Corresponds to the JSON property
desc. -
#metadata ⇒ Hash<String,String>
Optional.
-
#metrics ⇒ Array<Google::Apis::DataprocV1::SqlPlanMetric>
Corresponds to the JSON property
metrics. -
#name ⇒ String
Corresponds to the JSON property
name. -
#spark_plan_graph_node_id ⇒ Fixnum
Corresponds to the JSON property
sparkPlanGraphNodeId.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SparkPlanGraphNode
constructor
A new instance of SparkPlanGraphNode.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SparkPlanGraphNode
Returns a new instance of SparkPlanGraphNode.
9158 9159 9160 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9158 def initialize(**args) update!(**args) end |
Instance Attribute Details
#desc ⇒ String
Corresponds to the JSON property desc
9136 9137 9138 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9136 def desc @desc end |
#metadata ⇒ Hash<String,String>
Optional. Additional metadata for the spark plan graph cluster.
Corresponds to the JSON property metadata
9141 9142 9143 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9141 def @metadata end |
#metrics ⇒ Array<Google::Apis::DataprocV1::SqlPlanMetric>
Corresponds to the JSON property metrics
9146 9147 9148 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9146 def metrics @metrics end |
#name ⇒ String
Corresponds to the JSON property name
9151 9152 9153 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9151 def name @name end |
#spark_plan_graph_node_id ⇒ Fixnum
Corresponds to the JSON property sparkPlanGraphNodeId
9156 9157 9158 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9156 def spark_plan_graph_node_id @spark_plan_graph_node_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9163 9164 9165 9166 9167 9168 9169 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9163 def update!(**args) @desc = args[:desc] if args.key?(:desc) @metadata = args[:metadata] if args.key?(:metadata) @metrics = args[:metrics] if args.key?(:metrics) @name = args[:name] if args.key?(:name) @spark_plan_graph_node_id = args[:spark_plan_graph_node_id] if args.key?(:spark_plan_graph_node_id) end |