Class: Google::Apis::DataprocV1::WorkflowNode

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

The workflow node.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ WorkflowNode

Returns a new instance of WorkflowNode.



3445
3446
3447
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3445

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

Instance Attribute Details

#errorString

Output only. The error detail. Corresponds to the JSON property error

Returns:

  • (String)


3423
3424
3425
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3423

def error
  @error
end

#job_idString

Output only. The job id; populated after the node enters RUNNING state. Corresponds to the JSON property jobId

Returns:

  • (String)


3428
3429
3430
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3428

def job_id
  @job_id
end

#prerequisite_step_idsArray<String>

Output only. Node's prerequisite nodes. Corresponds to the JSON property prerequisiteStepIds

Returns:

  • (Array<String>)


3433
3434
3435
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3433

def prerequisite_step_ids
  @prerequisite_step_ids
end

#stateString

Output only. The node state. Corresponds to the JSON property state

Returns:

  • (String)


3438
3439
3440
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3438

def state
  @state
end

#step_idString

Output only. The name of the node. Corresponds to the JSON property stepId

Returns:

  • (String)


3443
3444
3445
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3443

def step_id
  @step_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3450
3451
3452
3453
3454
3455
3456
# File 'lib/google/apis/dataproc_v1/classes.rb', line 3450

def update!(**args)
  @error = args[:error] if args.key?(:error)
  @job_id = args[:job_id] if args.key?(:job_id)
  @prerequisite_step_ids = args[:prerequisite_step_ids] if args.key?(:prerequisite_step_ids)
  @state = args[:state] if args.key?(:state)
  @step_id = args[:step_id] if args.key?(:step_id)
end