tencentcloud-sdk-mps 3.0.663 → 3.0.665

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20190612/models.rb +12 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9032b0a06335dacba96aae50e34da6b7c46d8a36
4
- data.tar.gz: 90e01ad278832c278d090c8839bc19b6dd74e4ef
3
+ metadata.gz: 1355e8dbafc5ae654301663d4633293580b7e793
4
+ data.tar.gz: bca70fe96678aa6b47081cd82b60fa3fa5b4ba44
5
5
  SHA512:
6
- metadata.gz: 29a0a82c4081cc47950bb2321beaf5ba65f86cf900d17c440b0163bd15ca12c376fffb1f1456aa1c6a88e843804cea605c91ed068643fd48d2a62d14892b6c64
7
- data.tar.gz: cbb5f5b18b4b1fc5d224c1e68ef5f4d0cb765fd2836a692d889b1b5c1f4fb3351f68741096ef28af8b060cedebd7ad2885cd65ab12e18baf5936d996393a9576
6
+ metadata.gz: f336894c3feee622ecb36b281e77012801c51d98b1a8827bcec1f217025480f87b4fe91c4ef1f2c8cfd08b97853524def763f07a6bdc09442b9470ee24656e80
7
+ data.tar.gz: c687707afa673098658c889e13ea3b32be138f822772f3c6190c4464682a0699c9e2d591e6756b528d2b300fbd78a31c0e7480806b2580efb81838df6c13b727
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.663
1
+ 3.0.665
@@ -15890,18 +15890,26 @@ module TencentCloud
15890
15890
  # @param ScheduleTaskEvent: 编排任务信息,仅当 EventType 为 ScheduleTask,该字段有值。
15891
15891
  # 注意:此字段可能返回 null,表示取不到有效值。
15892
15892
  # @type ScheduleTaskEvent: :class:`Tencentcloud::Mps.v20190612.models.ScheduleTask`
15893
+ # @param Timestamp: - 过期时间,事件通知签名过期 UNIX 时间戳。
15894
+ # - 来自媒体处理的消息通知默认过期时间是10分钟,如果一条消息通知中的 Timestamp 值所指定的时间已经过期,则可以判定这条通知无效,进而可以防止网络重放攻击。
15895
+ # - Timestamp 的格式为十进制 UNIX 时间戳,即从1970年01月01日(UTC/GMT 的午夜)开始所经过的秒数。
15896
+ # @type Timestamp: Integer
15897
+ # @param Sign: 事件通知安全签名 Sign = MD5(NotifyKey + Timestamp)。说明:媒体处理把 TaskNotifyConfig 里面的NotifyKey 和 Timestamp 进行字符串拼接后通过 MD5 计算得出 Sign 值,并将其放在通知消息里,您的后台服务器在收到通知消息后可以根据同样的算法确认 Sign 是否正确,进而确认消息是否确实来自媒体处理后台。
15898
+ # @type Sign: String
15893
15899
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
15894
15900
  # @type RequestId: String
15895
15901
 
15896
- attr_accessor :EventType, :WorkflowTaskEvent, :EditMediaTaskEvent, :SessionId, :SessionContext, :ScheduleTaskEvent, :RequestId
15902
+ attr_accessor :EventType, :WorkflowTaskEvent, :EditMediaTaskEvent, :SessionId, :SessionContext, :ScheduleTaskEvent, :Timestamp, :Sign, :RequestId
15897
15903
 
15898
- def initialize(eventtype=nil, workflowtaskevent=nil, editmediataskevent=nil, sessionid=nil, sessioncontext=nil, scheduletaskevent=nil, requestid=nil)
15904
+ def initialize(eventtype=nil, workflowtaskevent=nil, editmediataskevent=nil, sessionid=nil, sessioncontext=nil, scheduletaskevent=nil, timestamp=nil, sign=nil, requestid=nil)
15899
15905
  @EventType = eventtype
15900
15906
  @WorkflowTaskEvent = workflowtaskevent
15901
15907
  @EditMediaTaskEvent = editmediataskevent
15902
15908
  @SessionId = sessionid
15903
15909
  @SessionContext = sessioncontext
15904
15910
  @ScheduleTaskEvent = scheduletaskevent
15911
+ @Timestamp = timestamp
15912
+ @Sign = sign
15905
15913
  @RequestId = requestid
15906
15914
  end
15907
15915
 
@@ -15921,6 +15929,8 @@ module TencentCloud
15921
15929
  @ScheduleTaskEvent = ScheduleTask.new
15922
15930
  @ScheduleTaskEvent.deserialize(params['ScheduleTaskEvent'])
15923
15931
  end
15932
+ @Timestamp = params['Timestamp']
15933
+ @Sign = params['Sign']
15924
15934
  @RequestId = params['RequestId']
15925
15935
  end
15926
15936
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-mps
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.663
4
+ version: 3.0.665
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-20 00:00:00.000000000 Z
11
+ date: 2023-09-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common