Class: Google::Apis::DataprocV1::SparkPlanGraphCluster
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::SparkPlanGraphCluster
- 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 tree of spark plan.
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. -
#nodes ⇒ Array<Google::Apis::DataprocV1::SparkPlanGraphNodeWrapper>
Corresponds to the JSON property
nodes. -
#spark_plan_graph_cluster_id ⇒ Fixnum
Corresponds to the JSON property
sparkPlanGraphClusterId.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SparkPlanGraphCluster
constructor
A new instance of SparkPlanGraphCluster.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SparkPlanGraphCluster
Returns a new instance of SparkPlanGraphCluster.
9105 9106 9107 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9105 def initialize(**args) update!(**args) end |
Instance Attribute Details
#desc ⇒ String
Corresponds to the JSON property desc
9078 9079 9080 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9078 def desc @desc end |
#metadata ⇒ Hash<String,String>
Optional. Additional metadata for the spark plan graph cluster.
Corresponds to the JSON property metadata
9083 9084 9085 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9083 def @metadata end |
#metrics ⇒ Array<Google::Apis::DataprocV1::SqlPlanMetric>
Corresponds to the JSON property metrics
9088 9089 9090 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9088 def metrics @metrics end |
#name ⇒ String
Corresponds to the JSON property name
9093 9094 9095 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9093 def name @name end |
#nodes ⇒ Array<Google::Apis::DataprocV1::SparkPlanGraphNodeWrapper>
Corresponds to the JSON property nodes
9098 9099 9100 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9098 def nodes @nodes end |
#spark_plan_graph_cluster_id ⇒ Fixnum
Corresponds to the JSON property sparkPlanGraphClusterId
9103 9104 9105 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9103 def spark_plan_graph_cluster_id @spark_plan_graph_cluster_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9110 9111 9112 9113 9114 9115 9116 9117 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9110 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) @nodes = args[:nodes] if args.key?(:nodes) @spark_plan_graph_cluster_id = args[:spark_plan_graph_cluster_id] if args.key?(:spark_plan_graph_cluster_id) end |