lib/v20201016/models.rb in tencentcloud-sdk-cls-1.0.364 vs lib/v20201016/models.rb in tencentcloud-sdk-cls-3.0.371
- old
+ new
@@ -5277,14 +5277,17 @@
# @param Content: 投递日志的内容格式配置
# 注意:此字段可能返回 null,表示取不到有效值。
# @type Content: :class:`Tencentcloud::Cls.v20201016.models.ContentInfo`
# @param CreateTime: 投递日志的创建时间
# @type CreateTime: String
+ # @param FilenameMode: 投递文件命名配置,0:随机数命名,1:投递时间命名,默认0(随机数命名)
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type FilenameMode: Integer
- attr_accessor :ShipperId, :TopicId, :Bucket, :Prefix, :ShipperName, :Interval, :MaxSize, :Status, :FilterRules, :Partition, :Compress, :Content, :CreateTime
+ attr_accessor :ShipperId, :TopicId, :Bucket, :Prefix, :ShipperName, :Interval, :MaxSize, :Status, :FilterRules, :Partition, :Compress, :Content, :CreateTime, :FilenameMode
- def initialize(shipperid=nil, topicid=nil, bucket=nil, prefix=nil, shippername=nil, interval=nil, maxsize=nil, status=nil, filterrules=nil, partition=nil, compress=nil, content=nil, createtime=nil)
+ def initialize(shipperid=nil, topicid=nil, bucket=nil, prefix=nil, shippername=nil, interval=nil, maxsize=nil, status=nil, filterrules=nil, partition=nil, compress=nil, content=nil, createtime=nil, filenamemode=nil)
@ShipperId = shipperid
@TopicId = topicid
@Bucket = bucket
@Prefix = prefix
@ShipperName = shippername
@@ -5294,10 +5297,11 @@
@FilterRules = filterrules
@Partition = partition
@Compress = compress
@Content = content
@CreateTime = createtime
+ @FilenameMode = filenamemode
end
def deserialize(params)
@ShipperId = params['ShipperId']
@TopicId = params['TopicId']
@@ -5323,9 +5327,10 @@
unless params['Content'].nil?
@Content = ContentInfo.new
@Content.deserialize(params['Content'])
end
@CreateTime = params['CreateTime']
+ @FilenameMode = params['FilenameMode']
end
end
# 投递任务信息
class ShipperTaskInfo < TencentCloud::Common::AbstractModel