# Cloud Dataproc V1beta2 API - Class Google::Cloud::Dataproc::V1beta2::WorkflowNode (v0.6.3)

Reference documentation and code samples for the Cloud Dataproc V1beta2 API class Google::Cloud::Dataproc::V1beta2::WorkflowNode.

The workflow node.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #error

    def error() -> ::String

**Returns**

- (::String) --- Output only. The error detail.

### #job_id

    def job_id() -> ::String

**Returns**

- (::String) --- Output only. The job id; populated after the node enters RUNNING state.

### #prerequisite_step_ids

    def prerequisite_step_ids() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- Output only. Node's prerequisite nodes.

### #state

    def state() -> ::Google::Cloud::Dataproc::V1beta2::WorkflowNode::NodeState

**Returns**

- ([::Google::Cloud::Dataproc::V1beta2::WorkflowNode::NodeState](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-dataproc-v1beta2/latest/Google-Cloud-Dataproc-V1beta2-WorkflowNode-NodeState)) --- Output only. The node state.

### #step_id

    def step_id() -> ::String

**Returns**

- (::String) --- Output only. The name of the node.