Class: TencentCloud::Cls::V20201016::CompressInfo

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20201016/models.rb

Overview

投递日志的压缩配置

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(format = nil) ⇒ CompressInfo

Returns a new instance of CompressInfo.



1427
1428
1429
# File 'lib/v20201016/models.rb', line 1427

def initialize(format=nil)
  @Format = format
end

Instance Attribute Details

#Format ⇒ Object

Parameters:

  • Format: —

    压缩格式,支持gzip、lzop、snappy和none不压缩



1425
1426
1427
# File 'lib/v20201016/models.rb', line 1425

def Format
  @Format
end

Instance Method Details

#deserialize(params) ⇒ Object



1431
1432
1433
# File 'lib/v20201016/models.rb', line 1431

def deserialize(params)
  @Format = params['Format']
end