Class: Google::Apis::DataflowV1b3::Sink
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::DataflowV1b3::Sink
 
 
- 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
A sink that records can be encoded and written to.
Instance Attribute Summary collapse
- 
  
    
      #codec  ⇒ Hash<String,Object> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The codec to use to encode data written to the sink.
 - 
  
    
      #spec  ⇒ Hash<String,Object> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The sink to write to, plus its parameters.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ Sink 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of Sink.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Sink
Returns a new instance of Sink
      3535 3536 3537  | 
    
      # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3535 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#codec ⇒ Hash<String,Object>
The codec to use to encode data written to the sink.
Corresponds to the JSON property codec
      3528 3529 3530  | 
    
      # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3528 def codec @codec end  | 
  
#spec ⇒ Hash<String,Object>
The sink to write to, plus its parameters.
Corresponds to the JSON property spec
      3533 3534 3535  | 
    
      # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3533 def spec @spec end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      3540 3541 3542 3543  | 
    
      # File 'generated/google/apis/dataflow_v1b3/classes.rb', line 3540 def update!(**args) @codec = args[:codec] if args.key?(:codec) @spec = args[:spec] if args.key?(:spec) end  |