Class: Google::Apis::DataprocV1::RddOperationEdge

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ RddOperationEdge

Returns a new instance of RddOperationEdge.



6752
6753
6754
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6752

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#from_idFixnum

Corresponds to the JSON property fromId

Returns:

  • (Fixnum)


6745
6746
6747
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6745

def from_id
  @from_id
end

#to_idFixnum

Corresponds to the JSON property toId

Returns:

  • (Fixnum)


6750
6751
6752
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6750

def to_id
  @to_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6757
6758
6759
6760
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6757

def update!(**args)
  @from_id = args[:from_id] if args.key?(:from_id)
  @to_id = args[:to_id] if args.key?(:to_id)
end