Class: Google::Apis::DataprocV1::RddOperationEdge
- Inherits:
-
Object
- Object
- Google::Apis::DataprocV1::RddOperationEdge
- 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
A directed edge representing dependency between two RDDs.
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) ⇒ RddOperationEdge
constructor
A new instance of RddOperationEdge.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ RddOperationEdge
Returns a new instance of RddOperationEdge.
6761 6762 6763 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6761 def initialize(**args) update!(**args) end |
Instance Attribute Details
#from_id ⇒ Fixnum
Corresponds to the JSON property fromId
6754 6755 6756 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6754 def from_id @from_id end |
#to_id ⇒ Fixnum
Corresponds to the JSON property toId
6759 6760 6761 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6759 def to_id @to_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6766 6767 6768 6769 |
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6766 def update!(**args) @from_id = args[:from_id] if args.key?(:from_id) @to_id = args[:to_id] if args.key?(:to_id) end |