class Google::Apis::DataflowV1b3::Sink

A sink that records can be encoded and written to.

Attributes

codec[RW]

The codec to use to encode data written to the sink. Corresponds to the JSON property `codec` @return [Hash<String,Object>]

spec[RW]

The sink to write to, plus its parameters. Corresponds to the JSON property `spec` @return [Hash<String,Object>]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/dataflow_v1b3/classes.rb, line 4342
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/dataflow_v1b3/classes.rb, line 4347
def update!(**args)
  @codec = args[:codec] if args.key?(:codec)
  @spec = args[:spec] if args.key?(:spec)
end