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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20190612/models.rb +12 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1355e8dbafc5ae654301663d4633293580b7e793
|
4
|
+
data.tar.gz: bca70fe96678aa6b47081cd82b60fa3fa5b4ba44
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f336894c3feee622ecb36b281e77012801c51d98b1a8827bcec1f217025480f87b4fe91c4ef1f2c8cfd08b97853524def763f07a6bdc09442b9470ee24656e80
|
7
|
+
data.tar.gz: c687707afa673098658c889e13ea3b32be138f822772f3c6190c4464682a0699c9e2d591e6756b528d2b300fbd78a31c0e7480806b2580efb81838df6c13b727
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.665
|
data/lib/v20190612/models.rb
CHANGED
@@ -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.
|
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-
|
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
|