Class: Google::Apis::DataprocV1::SparkPlanGraphEdge
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::SparkPlanGraphEdge
- 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 directed edge in the spark plan tree from child to parent.
Instance Attribute Summary collapse
-
#from_id ⇒ Fixnum
Corresponds to the JSON property
fromId. -
#to_id ⇒ Fixnum
Corresponds to the JSON property
toId.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SparkPlanGraphEdge
constructor
A new instance of SparkPlanGraphEdge.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SparkPlanGraphEdge
Returns a new instance of SparkPlanGraphEdge.
9121 9122 9123 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9121 def initialize(**args) update!(**args) end |
Instance Attribute Details
#from_id ⇒ Fixnum
Corresponds to the JSON property fromId
9114 9115 9116 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9114 def from_id @from_id end |
#to_id ⇒ Fixnum
Corresponds to the JSON property toId
9119 9120 9121 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9119 def to_id @to_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
9126 9127 9128 9129 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 9126 def update!(**args) @from_id = args[:from_id] if args.key?(:from_id) @to_id = args[:to_id] if args.key?(:to_id) end |