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

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/dataproc/v1/workflow_templates.rb

Overview

The workflow node.

Defined Under Namespace

Modules: NodeState

Instance Attribute Summary collapse

Instance Attribute Details

#error::String (readonly)

Returns Output only. The error detail.

Returns:

  • (::String)

    Output only. The error detail.



492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
# File 'proto_docs/google/cloud/dataproc/v1/workflow_templates.rb', line 492

class WorkflowNode
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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_id::String (readonly)

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.



492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
# File 'proto_docs/google/cloud/dataproc/v1/workflow_templates.rb', line 492

class WorkflowNode
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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_ids::Array<::String> (readonly)

Returns Output only. Node's prerequisite nodes.

Returns:

  • (::Array<::String>)

    Output only. Node's prerequisite nodes.



492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
# File 'proto_docs/google/cloud/dataproc/v1/workflow_templates.rb', line 492

class WorkflowNode
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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

#state::Google::Cloud::Dataproc::V1::WorkflowNode::NodeState (readonly)

Returns Output only. The node state.

Returns:



492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
# File 'proto_docs/google/cloud/dataproc/v1/workflow_templates.rb', line 492

class WorkflowNode
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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_id::String (readonly)

Returns Output only. The name of the node.

Returns:

  • (::String)

    Output only. The name of the node.



492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
# File 'proto_docs/google/cloud/dataproc/v1/workflow_templates.rb', line 492

class WorkflowNode
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods

  # 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