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.



6760
6761
6762
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6760

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

Instance Attribute Details

#from_idFixnum

Corresponds to the JSON property fromId

Returns:

  • (Fixnum)


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

def from_id
  @from_id
end

#to_idFixnum

Corresponds to the JSON property toId

Returns:

  • (Fixnum)


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

def to_id
  @to_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6765
6766
6767
6768
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6765

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