Class: Google::Apis::DataprocV1::WorkflowNode
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::DataprocV1::WorkflowNode
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/dataproc_v1/classes.rb,
generated/google/apis/dataproc_v1/representations.rb,
generated/google/apis/dataproc_v1/representations.rb 
Overview
The workflow node.
Instance Attribute Summary collapse
- 
  
    
      #error  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #job_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #prerequisite_step_ids  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #state  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 - 
  
    
      #step_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
Output only.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ WorkflowNode 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of WorkflowNode.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ WorkflowNode
Returns a new instance of WorkflowNode
      2498 2499 2500  | 
    
      # File 'generated/google/apis/dataproc_v1/classes.rb', line 2498 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#error ⇒ String
Output only. The error detail.
Corresponds to the JSON property error
      2476 2477 2478  | 
    
      # File 'generated/google/apis/dataproc_v1/classes.rb', line 2476 def error @error end  | 
  
#job_id ⇒ String
Output only. The job id; populated after the node enters RUNNING state.
Corresponds to the JSON property jobId
      2481 2482 2483  | 
    
      # File 'generated/google/apis/dataproc_v1/classes.rb', line 2481 def job_id @job_id end  | 
  
#prerequisite_step_ids ⇒ Array<String>
Output only. Node's prerequisite nodes.
Corresponds to the JSON property prerequisiteStepIds
      2486 2487 2488  | 
    
      # File 'generated/google/apis/dataproc_v1/classes.rb', line 2486 def prerequisite_step_ids @prerequisite_step_ids end  | 
  
#state ⇒ String
Output only. The node state.
Corresponds to the JSON property state
      2491 2492 2493  | 
    
      # File 'generated/google/apis/dataproc_v1/classes.rb', line 2491 def state @state end  | 
  
#step_id ⇒ String
Output only. The name of the node.
Corresponds to the JSON property stepId
      2496 2497 2498  | 
    
      # File 'generated/google/apis/dataproc_v1/classes.rb', line 2496 def step_id @step_id end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      2503 2504 2505 2506 2507 2508 2509  | 
    
      # File 'generated/google/apis/dataproc_v1/classes.rb', line 2503 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  |