Class: Google::Cloud::Dataproc::V1::WorkflowNode

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/workflow_templates.rb

Overview

The workflow node.

Defined Under Namespace

Modules: NodeState

Instance Attribute Summary collapse

Instance Attribute Details

#errorString

Returns Output only. The error detail.

Returns:

  • (String)

    Output only. The error detail.



371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
# File 'lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/workflow_templates.rb', line 371

class WorkflowNode
  # The workflow node state.
  module NodeState
    # State is unspecified.
    NODE_STATE_UNSPECIFIED = 0

    # The node is awaiting prerequisite node to finish.
    BLOCKED = 1

    # The node is runnable but not running.
    RUNNABLE = 2

    # The node is running.
    RUNNING = 3

    # The node completed successfully.
    COMPLETED = 4

    # The node failed. A node can be marked FAILED because
    # its ancestor or peer failed.
    FAILED = 5
  end
end

#job_idString

Returns Output only. The job id; populated after the node enters RUNNING state.

Returns:

  • (String)

    Output only. The job id; populated after the node enters RUNNING state.



371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
# File 'lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/workflow_templates.rb', line 371

class WorkflowNode
  # The workflow node state.
  module NodeState
    # State is unspecified.
    NODE_STATE_UNSPECIFIED = 0

    # The node is awaiting prerequisite node to finish.
    BLOCKED = 1

    # The node is runnable but not running.
    RUNNABLE = 2

    # The node is running.
    RUNNING = 3

    # The node completed successfully.
    COMPLETED = 4

    # The node failed. A node can be marked FAILED because
    # its ancestor or peer failed.
    FAILED = 5
  end
end

#prerequisite_step_idsArray<String>

Returns Output only. Node's prerequisite nodes.

Returns:

  • (Array<String>)

    Output only. Node's prerequisite nodes.



371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
# File 'lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/workflow_templates.rb', line 371

class WorkflowNode
  # The workflow node state.
  module NodeState
    # State is unspecified.
    NODE_STATE_UNSPECIFIED = 0

    # The node is awaiting prerequisite node to finish.
    BLOCKED = 1

    # The node is runnable but not running.
    RUNNABLE = 2

    # The node is running.
    RUNNING = 3

    # The node completed successfully.
    COMPLETED = 4

    # The node failed. A node can be marked FAILED because
    # its ancestor or peer failed.
    FAILED = 5
  end
end

#stateGoogle::Cloud::Dataproc::V1::WorkflowNode::NodeState

Returns Output only. The node state.

Returns:



371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
# File 'lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/workflow_templates.rb', line 371

class WorkflowNode
  # The workflow node state.
  module NodeState
    # State is unspecified.
    NODE_STATE_UNSPECIFIED = 0

    # The node is awaiting prerequisite node to finish.
    BLOCKED = 1

    # The node is runnable but not running.
    RUNNABLE = 2

    # The node is running.
    RUNNING = 3

    # The node completed successfully.
    COMPLETED = 4

    # The node failed. A node can be marked FAILED because
    # its ancestor or peer failed.
    FAILED = 5
  end
end

#step_idString

Returns Output only. The name of the node.

Returns:

  • (String)

    Output only. The name of the node.



371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
# File 'lib/google/cloud/dataproc/v1/doc/google/cloud/dataproc/v1/workflow_templates.rb', line 371

class WorkflowNode
  # The workflow node state.
  module NodeState
    # State is unspecified.
    NODE_STATE_UNSPECIFIED = 0

    # The node is awaiting prerequisite node to finish.
    BLOCKED = 1

    # The node is runnable but not running.
    RUNNABLE = 2

    # The node is running.
    RUNNING = 3

    # The node completed successfully.
    COMPLETED = 4

    # The node failed. A node can be marked FAILED because
    # its ancestor or peer failed.
    FAILED = 5
  end
end