Class: Google::Apis::DataflowV1b3::WriteInstruction
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::DataflowV1b3::WriteInstruction
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/dataflow_v1b3/classes.rb,
generated/google/apis/dataflow_v1b3/representations.rb,
generated/google/apis/dataflow_v1b3/representations.rb 
Overview
An instruction that writes records. Takes one input, produces no outputs.
Instance Attribute Summary collapse
- 
  
    
      #input  ⇒ Google::Apis::DataflowV1b3::InstructionInput 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
An input of an instruction, as a reference to an output of a producer instruction.
 - 
  
    
      #sink  ⇒ Google::Apis::DataflowV1b3::Sink 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A sink that records can be encoded and written to.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ WriteInstruction 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of WriteInstruction.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ WriteInstruction
Returns a new instance of WriteInstruction
      5643 5644 5645  | 
    
      # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 5643 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#input ⇒ Google::Apis::DataflowV1b3::InstructionInput
An input of an instruction, as a reference to an output of a
producer instruction.
Corresponds to the JSON property input
      5636 5637 5638  | 
    
      # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 5636 def input @input end  | 
  
#sink ⇒ Google::Apis::DataflowV1b3::Sink
A sink that records can be encoded and written to.
Corresponds to the JSON property sink
      5641 5642 5643  | 
    
      # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 5641 def sink @sink end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      5648 5649 5650 5651  | 
    
      # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 5648 def update!(**args) @input = args[:input] if args.key?(:input) @sink = args[:sink] if args.key?(:sink) end  |