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.



6334
6335
6336
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6334

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

Instance Attribute Details

#from_idFixnum

Corresponds to the JSON property fromId

Returns:

  • (Fixnum)


6327
6328
6329
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6327

def from_id
  @from_id
end

#to_idFixnum

Corresponds to the JSON property toId

Returns:

  • (Fixnum)


6332
6333
6334
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6332

def to_id
  @to_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6339
6340
6341
6342
# File 'lib/google/apis/dataproc_v1/classes.rb', line 6339

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