tencentcloud-sdk-mps 3.0.662 → 3.0.664
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 +19 -4
- 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: 111ee0a0c8d7cceed1aedf1a39a9d330f451c9a2
|
4
|
+
data.tar.gz: 50be3851d312ebbaf0bda6eecd3c105d2936511b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e36f5d889e74cdbdb93d2d5a91f0a7ad6b9b9b637579334a8f8bf19884b8e336cf62a4d5e67c1815c1eaf77bdfe35f8fdaf9f3de4dc547a25844c0a36f747f7
|
7
|
+
data.tar.gz: fd79a3bec237749b0481fd18860915bd8b396d16da39727aed8e2c0de0ad7baa5771081db1d85af5d2c515e3a4c5750973ba5c03217715eae0155062d2e4a9f3
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.664
|
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
|
@@ -18507,10 +18517,13 @@ module TencentCloud
|
|
18507
18517
|
|
18508
18518
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
18509
18519
|
# @type AwsSQS: :class:`Tencentcloud::Mps.v20190612.models.AwsSQS`
|
18520
|
+
# @param NotifyKey: 用于生成回调签名的key。
|
18521
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
18522
|
+
# @type NotifyKey: String
|
18510
18523
|
|
18511
|
-
attr_accessor :NotifyType, :NotifyMode, :NotifyUrl, :CmqModel, :CmqRegion, :TopicName, :QueueName, :AwsSQS
|
18524
|
+
attr_accessor :NotifyType, :NotifyMode, :NotifyUrl, :CmqModel, :CmqRegion, :TopicName, :QueueName, :AwsSQS, :NotifyKey
|
18512
18525
|
|
18513
|
-
def initialize(notifytype=nil, notifymode=nil, notifyurl=nil, cmqmodel=nil, cmqregion=nil, topicname=nil, queuename=nil, awssqs=nil)
|
18526
|
+
def initialize(notifytype=nil, notifymode=nil, notifyurl=nil, cmqmodel=nil, cmqregion=nil, topicname=nil, queuename=nil, awssqs=nil, notifykey=nil)
|
18514
18527
|
@NotifyType = notifytype
|
18515
18528
|
@NotifyMode = notifymode
|
18516
18529
|
@NotifyUrl = notifyurl
|
@@ -18519,6 +18532,7 @@ module TencentCloud
|
|
18519
18532
|
@TopicName = topicname
|
18520
18533
|
@QueueName = queuename
|
18521
18534
|
@AwsSQS = awssqs
|
18535
|
+
@NotifyKey = notifykey
|
18522
18536
|
end
|
18523
18537
|
|
18524
18538
|
def deserialize(params)
|
@@ -18533,6 +18547,7 @@ module TencentCloud
|
|
18533
18547
|
@AwsSQS = AwsSQS.new
|
18534
18548
|
@AwsSQS.deserialize(params['AwsSQS'])
|
18535
18549
|
end
|
18550
|
+
@NotifyKey = params['NotifyKey']
|
18536
18551
|
end
|
18537
18552
|
end
|
18538
18553
|
|
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.664
|
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-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|