lib/v20210416/models.rb in tencentcloud-sdk-eb-1.0.319 vs lib/v20210416/models.rb in tencentcloud-sdk-eb-1.0.320
- old
+ new
@@ -746,24 +746,29 @@
# @type Data: String
# @param Type: 事件类型,可自定义,选填。云服务默认写 COS:Created:PostObject,用“:”分割类型字段
# @type Type: String
# @param Subject: 事件来源详细描述,可自定义,选填。云服务默认为标准qcs资源表示语法:qcs::dts:ap-guangzhou:appid/uin:xxx
# @type Subject: String
+ # @param Time: 事件发生的毫秒时间戳,
+ # time.Now().UnixNano()/1e6
+ # @type Time: Integer
- attr_accessor :Source, :Data, :Type, :Subject
+ attr_accessor :Source, :Data, :Type, :Subject, :Time
- def initialize(source=nil, data=nil, type=nil, subject=nil)
+ def initialize(source=nil, data=nil, type=nil, subject=nil, time=nil)
@Source = source
@Data = data
@Type = type
@Subject = subject
+ @Time = time
end
def deserialize(params)
@Source = params['Source']
@Data = params['Data']
@Type = params['Type']
@Subject = params['Subject']
+ @Time = params['Time']
end
end
# 事件集信息
class EventBus < TencentCloud::Common::AbstractModel