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. -
#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.
8793 8794 8795 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8793 def initialize(**args) update!(**args) end |
Instance Attribute Details
#desc ⇒ String
Corresponds to the JSON property desc
8771 8772 8773 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8771 def desc @desc end |
#metrics ⇒ Array<Google::Apis::DataprocV1::SqlPlanMetric>
Corresponds to the JSON property metrics
8776 8777 8778 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8776 def metrics @metrics end |
#name ⇒ String
Corresponds to the JSON property name
8781 8782 8783 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8781 def name @name end |
#nodes ⇒ Array<Google::Apis::DataprocV1::SparkPlanGraphNodeWrapper>
Corresponds to the JSON property nodes
8786 8787 8788 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8786 def nodes @nodes end |
#spark_plan_graph_cluster_id ⇒ Fixnum
Corresponds to the JSON property sparkPlanGraphClusterId
8791 8792 8793 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8791 def spark_plan_graph_cluster_id @spark_plan_graph_cluster_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8798 8799 8800 8801 8802 8803 8804 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 8798 def update!(**args) @desc = args[:desc] if args.key?(:desc) @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 |