lib/v20190819/models.rb in tencentcloud-sdk-ckafka-3.0.396 vs lib/v20190819/models.rb in tencentcloud-sdk-ckafka-3.0.397
- old
+ new
@@ -911,24 +911,29 @@
# 注意:此字段可能返回 null,表示取不到有效值。
# @type LogSet: String
# @param ContentKey: 当DecodeJson为false时必填
# 注意:此字段可能返回 null,表示取不到有效值。
# @type ContentKey: String
+ # @param TimeField: 指定消息中的某字段内容作为cls日志的时间。
+ # 字段内容格式需要是秒级时间戳
+ # @type TimeField: String
- attr_accessor :DecodeJson, :Resource, :LogSet, :ContentKey
+ attr_accessor :DecodeJson, :Resource, :LogSet, :ContentKey, :TimeField
- def initialize(decodejson=nil, resource=nil, logset=nil, contentkey=nil)
+ def initialize(decodejson=nil, resource=nil, logset=nil, contentkey=nil, timefield=nil)
@DecodeJson = decodejson
@Resource = resource
@LogSet = logset
@ContentKey = contentkey
+ @TimeField = timefield
end
def deserialize(params)
@DecodeJson = params['DecodeJson']
@Resource = params['Resource']
@LogSet = params['LogSet']
@ContentKey = params['ContentKey']
+ @TimeField = params['TimeField']
end
end
# 集群信息实体
class ClusterInfo < TencentCloud::Common::AbstractModel