Class: Fluent::Plugin::AzureLogsIngestion::PayloadBuilder::Result

Inherits:
Struct
  • Object
show all
Defined in:
lib/fluent/plugin/azure_logs_ingestion/payload_builder.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#content_encodingObject

Returns the value of attribute content_encoding

Returns:

  • (Object)

    the current value of content_encoding



12
13
14
# File 'lib/fluent/plugin/azure_logs_ingestion/payload_builder.rb', line 12

def content_encoding
  @content_encoding
end

#content_lengthObject

Returns the value of attribute content_length

Returns:

  • (Object)

    the current value of content_length



12
13
14
# File 'lib/fluent/plugin/azure_logs_ingestion/payload_builder.rb', line 12

def content_length
  @content_length
end

#gzip_sizeObject

Returns the value of attribute gzip_size

Returns:

  • (Object)

    the current value of gzip_size



12
13
14
# File 'lib/fluent/plugin/azure_logs_ingestion/payload_builder.rb', line 12

def gzip_size
  @gzip_size
end

#ioObject

Returns the value of attribute io

Returns:

  • (Object)

    the current value of io



12
13
14
# File 'lib/fluent/plugin/azure_logs_ingestion/payload_builder.rb', line 12

def io
  @io
end

#raw_sizeObject

Returns the value of attribute raw_size

Returns:

  • (Object)

    the current value of raw_size



12
13
14
# File 'lib/fluent/plugin/azure_logs_ingestion/payload_builder.rb', line 12

def raw_size
  @raw_size
end

#record_countObject

Returns the value of attribute record_count

Returns:

  • (Object)

    the current value of record_count



12
13
14
# File 'lib/fluent/plugin/azure_logs_ingestion/payload_builder.rb', line 12

def record_count
  @record_count
end

Instance Method Details

#close!Object



21
22
23
24
25
# File 'lib/fluent/plugin/azure_logs_ingestion/payload_builder.rb', line 21

def close!
  io.close!
rescue StandardError
  nil
end