module Fluent::GCS
Public Class Methods
discovered_object_creator(store_as, transcoding: nil)
click to toggle source
# File lib/fluent/plugin/gcs/object_creator.rb, line 6 def self.discovered_object_creator(store_as, transcoding: nil) case store_as when :gzip Fluent::GCS::GZipObjectCreator.new(transcoding) when :json Fluent::GCS::JSONObjectCreator.new when :text Fluent::GCS::TextObjectCreator.new end end