tencentcloud-sdk-mps 3.0.525 → 3.0.527
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/client.rb +155 -0
- data/lib/v20190612/models.rb +496 -0
- 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: 053ceee90d36c195c0ba0b772f3ab83285736123
|
4
|
+
data.tar.gz: 5a8d94f83e16202f15de9248010b6f006fdfa167
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4d5436f59d4e0ae41002cd003506af7325a7078ca5c00c9208c5746a1cc059f5090c0f6c27ca332099b1377afb8fa59b763026b84618d2e933157e1bf4f87a4
|
7
|
+
data.tar.gz: ddd25a7d874f71d5eab49bec6e9aca5351efe69a38f6612d119b359eefe4ceda1a5d4d4712b5d74a9ff4196c0c67978094edd7d45546b7bb13213c4f625733f2
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.527
|
data/lib/v20190612/client.rb
CHANGED
@@ -221,6 +221,41 @@ module TencentCloud
|
|
221
221
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
222
222
|
end
|
223
223
|
|
224
|
+
# 对 COS 中指定 Bucket 的目录下上传的媒体文件,设置处理规则,包括:
|
225
|
+
# 1. 视频转码(带水印);
|
226
|
+
# 2. 视频转动图;
|
227
|
+
# 3. 对视频按指定时间点截图;
|
228
|
+
# 4. 对视频采样截图;
|
229
|
+
# 5. 对视频截图雪碧图;
|
230
|
+
# 6. 对视频转自适应码流;
|
231
|
+
# 7. 智能内容审核(鉴黄、敏感信息检测);
|
232
|
+
# 8. 智能内容分析(标签、分类、封面、按帧标签);
|
233
|
+
# 9. 智能内容识别(人脸、文本全文、文本关键词、语音全文、语音关键词)。
|
234
|
+
|
235
|
+
# 注意:创建编排成功后是禁用状态,需要手动启用。
|
236
|
+
|
237
|
+
# @param request: Request instance for CreateSchedule.
|
238
|
+
# @type request: :class:`Tencentcloud::mps::V20190612::CreateScheduleRequest`
|
239
|
+
# @rtype: :class:`Tencentcloud::mps::V20190612::CreateScheduleResponse`
|
240
|
+
def CreateSchedule(request)
|
241
|
+
body = send_request('CreateSchedule', request.serialize)
|
242
|
+
response = JSON.parse(body)
|
243
|
+
if response['Response'].key?('Error') == false
|
244
|
+
model = CreateScheduleResponse.new
|
245
|
+
model.deserialize(response['Response'])
|
246
|
+
model
|
247
|
+
else
|
248
|
+
code = response['Response']['Error']['Code']
|
249
|
+
message = response['Response']['Error']['Message']
|
250
|
+
reqid = response['Response']['RequestId']
|
251
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
252
|
+
end
|
253
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
254
|
+
raise e
|
255
|
+
rescue StandardError => e
|
256
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
257
|
+
end
|
258
|
+
|
224
259
|
# 创建用户自定义指定时间点截图模板,数量上限:16。
|
225
260
|
|
226
261
|
# @param request: Request instance for CreateSnapshotByTimeOffsetTemplate.
|
@@ -594,6 +629,30 @@ module TencentCloud
|
|
594
629
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
595
630
|
end
|
596
631
|
|
632
|
+
# 删除编排
|
633
|
+
|
634
|
+
# @param request: Request instance for DeleteSchedule.
|
635
|
+
# @type request: :class:`Tencentcloud::mps::V20190612::DeleteScheduleRequest`
|
636
|
+
# @rtype: :class:`Tencentcloud::mps::V20190612::DeleteScheduleResponse`
|
637
|
+
def DeleteSchedule(request)
|
638
|
+
body = send_request('DeleteSchedule', request.serialize)
|
639
|
+
response = JSON.parse(body)
|
640
|
+
if response['Response'].key?('Error') == false
|
641
|
+
model = DeleteScheduleResponse.new
|
642
|
+
model.deserialize(response['Response'])
|
643
|
+
model
|
644
|
+
else
|
645
|
+
code = response['Response']['Error']['Code']
|
646
|
+
message = response['Response']['Error']['Message']
|
647
|
+
reqid = response['Response']['RequestId']
|
648
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
649
|
+
end
|
650
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
651
|
+
raise e
|
652
|
+
rescue StandardError => e
|
653
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
654
|
+
end
|
655
|
+
|
597
656
|
# 删除用户自定义指定时间点截图模板。
|
598
657
|
|
599
658
|
# @param request: Request instance for DeleteSnapshotByTimeOffsetTemplate.
|
@@ -978,6 +1037,30 @@ module TencentCloud
|
|
978
1037
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
979
1038
|
end
|
980
1039
|
|
1040
|
+
# 查询编排。
|
1041
|
+
|
1042
|
+
# @param request: Request instance for DescribeSchedules.
|
1043
|
+
# @type request: :class:`Tencentcloud::mps::V20190612::DescribeSchedulesRequest`
|
1044
|
+
# @rtype: :class:`Tencentcloud::mps::V20190612::DescribeSchedulesResponse`
|
1045
|
+
def DescribeSchedules(request)
|
1046
|
+
body = send_request('DescribeSchedules', request.serialize)
|
1047
|
+
response = JSON.parse(body)
|
1048
|
+
if response['Response'].key?('Error') == false
|
1049
|
+
model = DescribeSchedulesResponse.new
|
1050
|
+
model.deserialize(response['Response'])
|
1051
|
+
model
|
1052
|
+
else
|
1053
|
+
code = response['Response']['Error']['Code']
|
1054
|
+
message = response['Response']['Error']['Message']
|
1055
|
+
reqid = response['Response']['RequestId']
|
1056
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1057
|
+
end
|
1058
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1059
|
+
raise e
|
1060
|
+
rescue StandardError => e
|
1061
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1062
|
+
end
|
1063
|
+
|
981
1064
|
# 查询指定时间点截图模板,支持根据条件,分页查询。
|
982
1065
|
|
983
1066
|
# @param request: Request instance for DescribeSnapshotByTimeOffsetTemplates.
|
@@ -1364,6 +1447,30 @@ module TencentCloud
|
|
1364
1447
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1365
1448
|
end
|
1366
1449
|
|
1450
|
+
# 禁用自动化触发编排任务。
|
1451
|
+
|
1452
|
+
# @param request: Request instance for DisableSchedule.
|
1453
|
+
# @type request: :class:`Tencentcloud::mps::V20190612::DisableScheduleRequest`
|
1454
|
+
# @rtype: :class:`Tencentcloud::mps::V20190612::DisableScheduleResponse`
|
1455
|
+
def DisableSchedule(request)
|
1456
|
+
body = send_request('DisableSchedule', request.serialize)
|
1457
|
+
response = JSON.parse(body)
|
1458
|
+
if response['Response'].key?('Error') == false
|
1459
|
+
model = DisableScheduleResponse.new
|
1460
|
+
model.deserialize(response['Response'])
|
1461
|
+
model
|
1462
|
+
else
|
1463
|
+
code = response['Response']['Error']['Code']
|
1464
|
+
message = response['Response']['Error']['Message']
|
1465
|
+
reqid = response['Response']['RequestId']
|
1466
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1467
|
+
end
|
1468
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1469
|
+
raise e
|
1470
|
+
rescue StandardError => e
|
1471
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1472
|
+
end
|
1473
|
+
|
1367
1474
|
# 禁用工作流。
|
1368
1475
|
|
1369
1476
|
# @param request: Request instance for DisableWorkflow.
|
@@ -1416,6 +1523,30 @@ module TencentCloud
|
|
1416
1523
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1417
1524
|
end
|
1418
1525
|
|
1526
|
+
# 启用自动化触发编排任务。
|
1527
|
+
|
1528
|
+
# @param request: Request instance for EnableSchedule.
|
1529
|
+
# @type request: :class:`Tencentcloud::mps::V20190612::EnableScheduleRequest`
|
1530
|
+
# @rtype: :class:`Tencentcloud::mps::V20190612::EnableScheduleResponse`
|
1531
|
+
def EnableSchedule(request)
|
1532
|
+
body = send_request('EnableSchedule', request.serialize)
|
1533
|
+
response = JSON.parse(body)
|
1534
|
+
if response['Response'].key?('Error') == false
|
1535
|
+
model = EnableScheduleResponse.new
|
1536
|
+
model.deserialize(response['Response'])
|
1537
|
+
model
|
1538
|
+
else
|
1539
|
+
code = response['Response']['Error']['Code']
|
1540
|
+
message = response['Response']['Error']['Message']
|
1541
|
+
reqid = response['Response']['RequestId']
|
1542
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1543
|
+
end
|
1544
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1545
|
+
raise e
|
1546
|
+
rescue StandardError => e
|
1547
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1548
|
+
end
|
1549
|
+
|
1419
1550
|
# 启用工作流。
|
1420
1551
|
|
1421
1552
|
# @param request: Request instance for EnableWorkflow.
|
@@ -1682,6 +1813,30 @@ module TencentCloud
|
|
1682
1813
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1683
1814
|
end
|
1684
1815
|
|
1816
|
+
# 修改编排
|
1817
|
+
|
1818
|
+
# @param request: Request instance for ModifySchedule.
|
1819
|
+
# @type request: :class:`Tencentcloud::mps::V20190612::ModifyScheduleRequest`
|
1820
|
+
# @rtype: :class:`Tencentcloud::mps::V20190612::ModifyScheduleResponse`
|
1821
|
+
def ModifySchedule(request)
|
1822
|
+
body = send_request('ModifySchedule', request.serialize)
|
1823
|
+
response = JSON.parse(body)
|
1824
|
+
if response['Response'].key?('Error') == false
|
1825
|
+
model = ModifyScheduleResponse.new
|
1826
|
+
model.deserialize(response['Response'])
|
1827
|
+
model
|
1828
|
+
else
|
1829
|
+
code = response['Response']['Error']['Code']
|
1830
|
+
message = response['Response']['Error']['Message']
|
1831
|
+
reqid = response['Response']['RequestId']
|
1832
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1833
|
+
end
|
1834
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1835
|
+
raise e
|
1836
|
+
rescue StandardError => e
|
1837
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1838
|
+
end
|
1839
|
+
|
1685
1840
|
# 修改用户自定义指定时间点截图模板。
|
1686
1841
|
|
1687
1842
|
# @param request: Request instance for ModifySnapshotByTimeOffsetTemplate.
|
data/lib/v20190612/models.rb
CHANGED
@@ -180,6 +180,119 @@ module TencentCloud
|
|
180
180
|
end
|
181
181
|
end
|
182
182
|
|
183
|
+
# 编排原子任务
|
184
|
+
class Activity < TencentCloud::Common::AbstractModel
|
185
|
+
# @param ActivityType: 原子任务类型:
|
186
|
+
# <li>input: 起始节点</li>
|
187
|
+
# <li>output:终止节点</li>
|
188
|
+
# <li>action-trans:转码</li>
|
189
|
+
# <li>action-samplesnapshot:采样截图</li>
|
190
|
+
# <li>action-AIAnalysis: 分析</li>
|
191
|
+
# <li>action-AIRecognition:识别</li>
|
192
|
+
# <li>action-aiReview:审核</li>
|
193
|
+
# <li>action-animated-graphics:转动图</li>
|
194
|
+
# <li>action-image-sprite:雪碧图</li>
|
195
|
+
# <li>action-snapshotByTimeOffset: 时间点截图</li>
|
196
|
+
# <li>action-adaptive-substream:自适应码流</li>
|
197
|
+
# @type ActivityType: String
|
198
|
+
# @param ReardriveIndex: 后驱节点索引数组
|
199
|
+
# @type ReardriveIndex: Array
|
200
|
+
# @param ActivityPara: 原子任务参数
|
201
|
+
# @type ActivityPara: :class:`Tencentcloud::Mps.v20190612.models.ActivityPara`
|
202
|
+
|
203
|
+
attr_accessor :ActivityType, :ReardriveIndex, :ActivityPara
|
204
|
+
|
205
|
+
def initialize(activitytype=nil, reardriveindex=nil, activitypara=nil)
|
206
|
+
@ActivityType = activitytype
|
207
|
+
@ReardriveIndex = reardriveindex
|
208
|
+
@ActivityPara = activitypara
|
209
|
+
end
|
210
|
+
|
211
|
+
def deserialize(params)
|
212
|
+
@ActivityType = params['ActivityType']
|
213
|
+
@ReardriveIndex = params['ReardriveIndex']
|
214
|
+
unless params['ActivityPara'].nil?
|
215
|
+
@ActivityPara = ActivityPara.new
|
216
|
+
@ActivityPara.deserialize(params['ActivityPara'])
|
217
|
+
end
|
218
|
+
end
|
219
|
+
end
|
220
|
+
|
221
|
+
# 编排原子任务
|
222
|
+
class ActivityPara < TencentCloud::Common::AbstractModel
|
223
|
+
# @param TranscodeTask: 视频转码任务
|
224
|
+
# @type TranscodeTask: :class:`Tencentcloud::Mps.v20190612.models.TranscodeTaskInput`
|
225
|
+
# @param AnimatedGraphicTask: 视频转动图任务
|
226
|
+
# @type AnimatedGraphicTask: :class:`Tencentcloud::Mps.v20190612.models.AnimatedGraphicTaskInput`
|
227
|
+
# @param SnapshotByTimeOffsetTask: 视频按时间点截图任务
|
228
|
+
# @type SnapshotByTimeOffsetTask: :class:`Tencentcloud::Mps.v20190612.models.SnapshotByTimeOffsetTaskInput`
|
229
|
+
# @param SampleSnapshotTask: 视频采样截图任务
|
230
|
+
# @type SampleSnapshotTask: :class:`Tencentcloud::Mps.v20190612.models.SampleSnapshotTaskInput`
|
231
|
+
# @param ImageSpriteTask: 视频截雪碧图任务
|
232
|
+
# @type ImageSpriteTask: :class:`Tencentcloud::Mps.v20190612.models.ImageSpriteTaskInput`
|
233
|
+
# @param AdaptiveDynamicStreamingTask: 转自适应码流任务
|
234
|
+
# @type AdaptiveDynamicStreamingTask: :class:`Tencentcloud::Mps.v20190612.models.AdaptiveDynamicStreamingTaskInput`
|
235
|
+
# @param AiContentReviewTask: 视频内容审核类型任务
|
236
|
+
# @type AiContentReviewTask: :class:`Tencentcloud::Mps.v20190612.models.AiContentReviewTaskInput`
|
237
|
+
# @param AiAnalysisTask: 视频内容分析类型任务
|
238
|
+
# @type AiAnalysisTask: :class:`Tencentcloud::Mps.v20190612.models.AiAnalysisTaskInput`
|
239
|
+
# @param AiRecognitionTask: 视频内容识别类型任务
|
240
|
+
# @type AiRecognitionTask: :class:`Tencentcloud::Mps.v20190612.models.AiRecognitionTaskInput`
|
241
|
+
|
242
|
+
attr_accessor :TranscodeTask, :AnimatedGraphicTask, :SnapshotByTimeOffsetTask, :SampleSnapshotTask, :ImageSpriteTask, :AdaptiveDynamicStreamingTask, :AiContentReviewTask, :AiAnalysisTask, :AiRecognitionTask
|
243
|
+
|
244
|
+
def initialize(transcodetask=nil, animatedgraphictask=nil, snapshotbytimeoffsettask=nil, samplesnapshottask=nil, imagespritetask=nil, adaptivedynamicstreamingtask=nil, aicontentreviewtask=nil, aianalysistask=nil, airecognitiontask=nil)
|
245
|
+
@TranscodeTask = transcodetask
|
246
|
+
@AnimatedGraphicTask = animatedgraphictask
|
247
|
+
@SnapshotByTimeOffsetTask = snapshotbytimeoffsettask
|
248
|
+
@SampleSnapshotTask = samplesnapshottask
|
249
|
+
@ImageSpriteTask = imagespritetask
|
250
|
+
@AdaptiveDynamicStreamingTask = adaptivedynamicstreamingtask
|
251
|
+
@AiContentReviewTask = aicontentreviewtask
|
252
|
+
@AiAnalysisTask = aianalysistask
|
253
|
+
@AiRecognitionTask = airecognitiontask
|
254
|
+
end
|
255
|
+
|
256
|
+
def deserialize(params)
|
257
|
+
unless params['TranscodeTask'].nil?
|
258
|
+
@TranscodeTask = TranscodeTaskInput.new
|
259
|
+
@TranscodeTask.deserialize(params['TranscodeTask'])
|
260
|
+
end
|
261
|
+
unless params['AnimatedGraphicTask'].nil?
|
262
|
+
@AnimatedGraphicTask = AnimatedGraphicTaskInput.new
|
263
|
+
@AnimatedGraphicTask.deserialize(params['AnimatedGraphicTask'])
|
264
|
+
end
|
265
|
+
unless params['SnapshotByTimeOffsetTask'].nil?
|
266
|
+
@SnapshotByTimeOffsetTask = SnapshotByTimeOffsetTaskInput.new
|
267
|
+
@SnapshotByTimeOffsetTask.deserialize(params['SnapshotByTimeOffsetTask'])
|
268
|
+
end
|
269
|
+
unless params['SampleSnapshotTask'].nil?
|
270
|
+
@SampleSnapshotTask = SampleSnapshotTaskInput.new
|
271
|
+
@SampleSnapshotTask.deserialize(params['SampleSnapshotTask'])
|
272
|
+
end
|
273
|
+
unless params['ImageSpriteTask'].nil?
|
274
|
+
@ImageSpriteTask = ImageSpriteTaskInput.new
|
275
|
+
@ImageSpriteTask.deserialize(params['ImageSpriteTask'])
|
276
|
+
end
|
277
|
+
unless params['AdaptiveDynamicStreamingTask'].nil?
|
278
|
+
@AdaptiveDynamicStreamingTask = AdaptiveDynamicStreamingTaskInput.new
|
279
|
+
@AdaptiveDynamicStreamingTask.deserialize(params['AdaptiveDynamicStreamingTask'])
|
280
|
+
end
|
281
|
+
unless params['AiContentReviewTask'].nil?
|
282
|
+
@AiContentReviewTask = AiContentReviewTaskInput.new
|
283
|
+
@AiContentReviewTask.deserialize(params['AiContentReviewTask'])
|
284
|
+
end
|
285
|
+
unless params['AiAnalysisTask'].nil?
|
286
|
+
@AiAnalysisTask = AiAnalysisTaskInput.new
|
287
|
+
@AiAnalysisTask.deserialize(params['AiAnalysisTask'])
|
288
|
+
end
|
289
|
+
unless params['AiRecognitionTask'].nil?
|
290
|
+
@AiRecognitionTask = AiRecognitionTaskInput.new
|
291
|
+
@AiRecognitionTask.deserialize(params['AiRecognitionTask'])
|
292
|
+
end
|
293
|
+
end
|
294
|
+
end
|
295
|
+
|
183
296
|
# 编排子任务输出
|
184
297
|
class ActivityResItem < TencentCloud::Common::AbstractModel
|
185
298
|
# @param TranscodeTask: 转码任务输出
|
@@ -4857,6 +4970,78 @@ module TencentCloud
|
|
4857
4970
|
end
|
4858
4971
|
end
|
4859
4972
|
|
4973
|
+
# CreateSchedule请求参数结构体
|
4974
|
+
class CreateScheduleRequest < TencentCloud::Common::AbstractModel
|
4975
|
+
# @param ScheduleName: 编排名称,最多128字符。同一个用户该名称唯一。
|
4976
|
+
# @type ScheduleName: String
|
4977
|
+
# @param Trigger: 编排绑定的触发规则,当上传视频命中该规则到该对象时即触发工作流。
|
4978
|
+
# @type Trigger: :class:`Tencentcloud::Mps.v20190612.models.WorkflowTrigger`
|
4979
|
+
# @param Activities: 编排任务列表。
|
4980
|
+
# @type Activities: Array
|
4981
|
+
# @param OutputStorage: 媒体处理的文件输出存储位置。不填则继承 Trigger 中的存储位置。
|
4982
|
+
# @type OutputStorage: :class:`Tencentcloud::Mps.v20190612.models.TaskOutputStorage`
|
4983
|
+
# @param OutputDir: 媒体处理生成的文件输出的目标目录,如`/movie/201907/`。如果不填,表示与触发文件所在的目录一致。
|
4984
|
+
# @type OutputDir: String
|
4985
|
+
# @param TaskNotifyConfig: 任务的事件通知配置,不填代表不获取事件通知。
|
4986
|
+
# @type TaskNotifyConfig: :class:`Tencentcloud::Mps.v20190612.models.TaskNotifyConfig`
|
4987
|
+
|
4988
|
+
attr_accessor :ScheduleName, :Trigger, :Activities, :OutputStorage, :OutputDir, :TaskNotifyConfig
|
4989
|
+
|
4990
|
+
def initialize(schedulename=nil, trigger=nil, activities=nil, outputstorage=nil, outputdir=nil, tasknotifyconfig=nil)
|
4991
|
+
@ScheduleName = schedulename
|
4992
|
+
@Trigger = trigger
|
4993
|
+
@Activities = activities
|
4994
|
+
@OutputStorage = outputstorage
|
4995
|
+
@OutputDir = outputdir
|
4996
|
+
@TaskNotifyConfig = tasknotifyconfig
|
4997
|
+
end
|
4998
|
+
|
4999
|
+
def deserialize(params)
|
5000
|
+
@ScheduleName = params['ScheduleName']
|
5001
|
+
unless params['Trigger'].nil?
|
5002
|
+
@Trigger = WorkflowTrigger.new
|
5003
|
+
@Trigger.deserialize(params['Trigger'])
|
5004
|
+
end
|
5005
|
+
unless params['Activities'].nil?
|
5006
|
+
@Activities = []
|
5007
|
+
params['Activities'].each do |i|
|
5008
|
+
activity_tmp = Activity.new
|
5009
|
+
activity_tmp.deserialize(i)
|
5010
|
+
@Activities << activity_tmp
|
5011
|
+
end
|
5012
|
+
end
|
5013
|
+
unless params['OutputStorage'].nil?
|
5014
|
+
@OutputStorage = TaskOutputStorage.new
|
5015
|
+
@OutputStorage.deserialize(params['OutputStorage'])
|
5016
|
+
end
|
5017
|
+
@OutputDir = params['OutputDir']
|
5018
|
+
unless params['TaskNotifyConfig'].nil?
|
5019
|
+
@TaskNotifyConfig = TaskNotifyConfig.new
|
5020
|
+
@TaskNotifyConfig.deserialize(params['TaskNotifyConfig'])
|
5021
|
+
end
|
5022
|
+
end
|
5023
|
+
end
|
5024
|
+
|
5025
|
+
# CreateSchedule返回参数结构体
|
5026
|
+
class CreateScheduleResponse < TencentCloud::Common::AbstractModel
|
5027
|
+
# @param ScheduleId: 编排 ID。
|
5028
|
+
# @type ScheduleId: Integer
|
5029
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5030
|
+
# @type RequestId: String
|
5031
|
+
|
5032
|
+
attr_accessor :ScheduleId, :RequestId
|
5033
|
+
|
5034
|
+
def initialize(scheduleid=nil, requestid=nil)
|
5035
|
+
@ScheduleId = scheduleid
|
5036
|
+
@RequestId = requestid
|
5037
|
+
end
|
5038
|
+
|
5039
|
+
def deserialize(params)
|
5040
|
+
@ScheduleId = params['ScheduleId']
|
5041
|
+
@RequestId = params['RequestId']
|
5042
|
+
end
|
5043
|
+
end
|
5044
|
+
|
4860
5045
|
# CreateSnapshotByTimeOffsetTemplate请求参数结构体
|
4861
5046
|
class CreateSnapshotByTimeOffsetTemplateRequest < TencentCloud::Common::AbstractModel
|
4862
5047
|
# @param Name: 指定时间点截图模板名称,长度限制:64 个字符。
|
@@ -5620,6 +5805,38 @@ module TencentCloud
|
|
5620
5805
|
end
|
5621
5806
|
end
|
5622
5807
|
|
5808
|
+
# DeleteSchedule请求参数结构体
|
5809
|
+
class DeleteScheduleRequest < TencentCloud::Common::AbstractModel
|
5810
|
+
# @param ScheduleId: 编排唯一标识。
|
5811
|
+
# @type ScheduleId: Integer
|
5812
|
+
|
5813
|
+
attr_accessor :ScheduleId
|
5814
|
+
|
5815
|
+
def initialize(scheduleid=nil)
|
5816
|
+
@ScheduleId = scheduleid
|
5817
|
+
end
|
5818
|
+
|
5819
|
+
def deserialize(params)
|
5820
|
+
@ScheduleId = params['ScheduleId']
|
5821
|
+
end
|
5822
|
+
end
|
5823
|
+
|
5824
|
+
# DeleteSchedule返回参数结构体
|
5825
|
+
class DeleteScheduleResponse < TencentCloud::Common::AbstractModel
|
5826
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5827
|
+
# @type RequestId: String
|
5828
|
+
|
5829
|
+
attr_accessor :RequestId
|
5830
|
+
|
5831
|
+
def initialize(requestid=nil)
|
5832
|
+
@RequestId = requestid
|
5833
|
+
end
|
5834
|
+
|
5835
|
+
def deserialize(params)
|
5836
|
+
@RequestId = params['RequestId']
|
5837
|
+
end
|
5838
|
+
end
|
5839
|
+
|
5623
5840
|
# DeleteSnapshotByTimeOffsetTemplate请求参数结构体
|
5624
5841
|
class DeleteSnapshotByTimeOffsetTemplateRequest < TencentCloud::Common::AbstractModel
|
5625
5842
|
# @param Definition: 指定时间点截图模板唯一标识。
|
@@ -7151,6 +7368,68 @@ module TencentCloud
|
|
7151
7368
|
end
|
7152
7369
|
end
|
7153
7370
|
|
7371
|
+
# DescribeSchedules请求参数结构体
|
7372
|
+
class DescribeSchedulesRequest < TencentCloud::Common::AbstractModel
|
7373
|
+
# @param ScheduleIds: 编排 ID 过滤条件,数组长度限制:100。
|
7374
|
+
# @type ScheduleIds: Array
|
7375
|
+
# @param Status: 状态,取值范围:
|
7376
|
+
# <li>Enabled:已启用,</li>
|
7377
|
+
# <li>Disabled:已禁用。</li>
|
7378
|
+
# 不填此参数,则不区分工作流状态。
|
7379
|
+
# @type Status: String
|
7380
|
+
# @param Offset: 分页偏移量,默认值:0。
|
7381
|
+
# @type Offset: Integer
|
7382
|
+
# @param Limit: 返回记录条数,默认值:10,最大值:100。
|
7383
|
+
# @type Limit: Integer
|
7384
|
+
|
7385
|
+
attr_accessor :ScheduleIds, :Status, :Offset, :Limit
|
7386
|
+
|
7387
|
+
def initialize(scheduleids=nil, status=nil, offset=nil, limit=nil)
|
7388
|
+
@ScheduleIds = scheduleids
|
7389
|
+
@Status = status
|
7390
|
+
@Offset = offset
|
7391
|
+
@Limit = limit
|
7392
|
+
end
|
7393
|
+
|
7394
|
+
def deserialize(params)
|
7395
|
+
@ScheduleIds = params['ScheduleIds']
|
7396
|
+
@Status = params['Status']
|
7397
|
+
@Offset = params['Offset']
|
7398
|
+
@Limit = params['Limit']
|
7399
|
+
end
|
7400
|
+
end
|
7401
|
+
|
7402
|
+
# DescribeSchedules返回参数结构体
|
7403
|
+
class DescribeSchedulesResponse < TencentCloud::Common::AbstractModel
|
7404
|
+
# @param TotalCount: 符合过滤条件的记录总数。
|
7405
|
+
# @type TotalCount: Integer
|
7406
|
+
# @param ScheduleInfoSet: 编排信息数组。
|
7407
|
+
# @type ScheduleInfoSet: Array
|
7408
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
7409
|
+
# @type RequestId: String
|
7410
|
+
|
7411
|
+
attr_accessor :TotalCount, :ScheduleInfoSet, :RequestId
|
7412
|
+
|
7413
|
+
def initialize(totalcount=nil, scheduleinfoset=nil, requestid=nil)
|
7414
|
+
@TotalCount = totalcount
|
7415
|
+
@ScheduleInfoSet = scheduleinfoset
|
7416
|
+
@RequestId = requestid
|
7417
|
+
end
|
7418
|
+
|
7419
|
+
def deserialize(params)
|
7420
|
+
@TotalCount = params['TotalCount']
|
7421
|
+
unless params['ScheduleInfoSet'].nil?
|
7422
|
+
@ScheduleInfoSet = []
|
7423
|
+
params['ScheduleInfoSet'].each do |i|
|
7424
|
+
schedulesinfo_tmp = SchedulesInfo.new
|
7425
|
+
schedulesinfo_tmp.deserialize(i)
|
7426
|
+
@ScheduleInfoSet << schedulesinfo_tmp
|
7427
|
+
end
|
7428
|
+
end
|
7429
|
+
@RequestId = params['RequestId']
|
7430
|
+
end
|
7431
|
+
end
|
7432
|
+
|
7154
7433
|
# DescribeSnapshotByTimeOffsetTemplates请求参数结构体
|
7155
7434
|
class DescribeSnapshotByTimeOffsetTemplatesRequest < TencentCloud::Common::AbstractModel
|
7156
7435
|
# @param Definitions: 指定时间点截图模板唯一标识过滤条件,数组长度限制:100。
|
@@ -8183,6 +8462,38 @@ module TencentCloud
|
|
8183
8462
|
end
|
8184
8463
|
end
|
8185
8464
|
|
8465
|
+
# DisableSchedule请求参数结构体
|
8466
|
+
class DisableScheduleRequest < TencentCloud::Common::AbstractModel
|
8467
|
+
# @param ScheduleId: 编排唯一表示。
|
8468
|
+
# @type ScheduleId: Integer
|
8469
|
+
|
8470
|
+
attr_accessor :ScheduleId
|
8471
|
+
|
8472
|
+
def initialize(scheduleid=nil)
|
8473
|
+
@ScheduleId = scheduleid
|
8474
|
+
end
|
8475
|
+
|
8476
|
+
def deserialize(params)
|
8477
|
+
@ScheduleId = params['ScheduleId']
|
8478
|
+
end
|
8479
|
+
end
|
8480
|
+
|
8481
|
+
# DisableSchedule返回参数结构体
|
8482
|
+
class DisableScheduleResponse < TencentCloud::Common::AbstractModel
|
8483
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
8484
|
+
# @type RequestId: String
|
8485
|
+
|
8486
|
+
attr_accessor :RequestId
|
8487
|
+
|
8488
|
+
def initialize(requestid=nil)
|
8489
|
+
@RequestId = requestid
|
8490
|
+
end
|
8491
|
+
|
8492
|
+
def deserialize(params)
|
8493
|
+
@RequestId = params['RequestId']
|
8494
|
+
end
|
8495
|
+
end
|
8496
|
+
|
8186
8497
|
# DisableWorkflow请求参数结构体
|
8187
8498
|
class DisableWorkflowRequest < TencentCloud::Common::AbstractModel
|
8188
8499
|
# @param WorkflowId: 工作流 ID。
|
@@ -8435,6 +8746,38 @@ module TencentCloud
|
|
8435
8746
|
end
|
8436
8747
|
end
|
8437
8748
|
|
8749
|
+
# EnableSchedule请求参数结构体
|
8750
|
+
class EnableScheduleRequest < TencentCloud::Common::AbstractModel
|
8751
|
+
# @param ScheduleId: 编排唯一标识。
|
8752
|
+
# @type ScheduleId: Integer
|
8753
|
+
|
8754
|
+
attr_accessor :ScheduleId
|
8755
|
+
|
8756
|
+
def initialize(scheduleid=nil)
|
8757
|
+
@ScheduleId = scheduleid
|
8758
|
+
end
|
8759
|
+
|
8760
|
+
def deserialize(params)
|
8761
|
+
@ScheduleId = params['ScheduleId']
|
8762
|
+
end
|
8763
|
+
end
|
8764
|
+
|
8765
|
+
# EnableSchedule返回参数结构体
|
8766
|
+
class EnableScheduleResponse < TencentCloud::Common::AbstractModel
|
8767
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
8768
|
+
# @type RequestId: String
|
8769
|
+
|
8770
|
+
attr_accessor :RequestId
|
8771
|
+
|
8772
|
+
def initialize(requestid=nil)
|
8773
|
+
@RequestId = requestid
|
8774
|
+
end
|
8775
|
+
|
8776
|
+
def deserialize(params)
|
8777
|
+
@RequestId = params['RequestId']
|
8778
|
+
end
|
8779
|
+
end
|
8780
|
+
|
8438
8781
|
# EnableWorkflow请求参数结构体
|
8439
8782
|
class EnableWorkflowRequest < TencentCloud::Common::AbstractModel
|
8440
8783
|
# @param WorkflowId: 工作流 ID。
|
@@ -12302,6 +12645,80 @@ module TencentCloud
|
|
12302
12645
|
end
|
12303
12646
|
end
|
12304
12647
|
|
12648
|
+
# ModifySchedule请求参数结构体
|
12649
|
+
class ModifyScheduleRequest < TencentCloud::Common::AbstractModel
|
12650
|
+
# @param ScheduleId: 编排唯一标识。
|
12651
|
+
# @type ScheduleId: Integer
|
12652
|
+
# @param ScheduleName: 编排名称。
|
12653
|
+
# @type ScheduleName: String
|
12654
|
+
# @param Trigger: 编排绑定的触发规则。
|
12655
|
+
# @type Trigger: :class:`Tencentcloud::Mps.v20190612.models.WorkflowTrigger`
|
12656
|
+
# @param Activities: 编排任务列表。
|
12657
|
+
# 注意:内部不允许部分更新,如果需要更新需全量提交编排任务列表。
|
12658
|
+
# @type Activities: Array
|
12659
|
+
# @param OutputStorage: 媒体处理的文件输出存储位置。
|
12660
|
+
# @type OutputStorage: :class:`Tencentcloud::Mps.v20190612.models.TaskOutputStorage`
|
12661
|
+
# @param OutputDir: 媒体处理生成的文件输出的目标目录。
|
12662
|
+
# 注意:如果设置为空,则表示取消老配置的OutputDir值。
|
12663
|
+
# @type OutputDir: String
|
12664
|
+
# @param TaskNotifyConfig: 任务的事件通知配置。
|
12665
|
+
# @type TaskNotifyConfig: :class:`Tencentcloud::Mps.v20190612.models.TaskNotifyConfig`
|
12666
|
+
|
12667
|
+
attr_accessor :ScheduleId, :ScheduleName, :Trigger, :Activities, :OutputStorage, :OutputDir, :TaskNotifyConfig
|
12668
|
+
|
12669
|
+
def initialize(scheduleid=nil, schedulename=nil, trigger=nil, activities=nil, outputstorage=nil, outputdir=nil, tasknotifyconfig=nil)
|
12670
|
+
@ScheduleId = scheduleid
|
12671
|
+
@ScheduleName = schedulename
|
12672
|
+
@Trigger = trigger
|
12673
|
+
@Activities = activities
|
12674
|
+
@OutputStorage = outputstorage
|
12675
|
+
@OutputDir = outputdir
|
12676
|
+
@TaskNotifyConfig = tasknotifyconfig
|
12677
|
+
end
|
12678
|
+
|
12679
|
+
def deserialize(params)
|
12680
|
+
@ScheduleId = params['ScheduleId']
|
12681
|
+
@ScheduleName = params['ScheduleName']
|
12682
|
+
unless params['Trigger'].nil?
|
12683
|
+
@Trigger = WorkflowTrigger.new
|
12684
|
+
@Trigger.deserialize(params['Trigger'])
|
12685
|
+
end
|
12686
|
+
unless params['Activities'].nil?
|
12687
|
+
@Activities = []
|
12688
|
+
params['Activities'].each do |i|
|
12689
|
+
activity_tmp = Activity.new
|
12690
|
+
activity_tmp.deserialize(i)
|
12691
|
+
@Activities << activity_tmp
|
12692
|
+
end
|
12693
|
+
end
|
12694
|
+
unless params['OutputStorage'].nil?
|
12695
|
+
@OutputStorage = TaskOutputStorage.new
|
12696
|
+
@OutputStorage.deserialize(params['OutputStorage'])
|
12697
|
+
end
|
12698
|
+
@OutputDir = params['OutputDir']
|
12699
|
+
unless params['TaskNotifyConfig'].nil?
|
12700
|
+
@TaskNotifyConfig = TaskNotifyConfig.new
|
12701
|
+
@TaskNotifyConfig.deserialize(params['TaskNotifyConfig'])
|
12702
|
+
end
|
12703
|
+
end
|
12704
|
+
end
|
12705
|
+
|
12706
|
+
# ModifySchedule返回参数结构体
|
12707
|
+
class ModifyScheduleResponse < TencentCloud::Common::AbstractModel
|
12708
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
12709
|
+
# @type RequestId: String
|
12710
|
+
|
12711
|
+
attr_accessor :RequestId
|
12712
|
+
|
12713
|
+
def initialize(requestid=nil)
|
12714
|
+
@RequestId = requestid
|
12715
|
+
end
|
12716
|
+
|
12717
|
+
def deserialize(params)
|
12718
|
+
@RequestId = params['RequestId']
|
12719
|
+
end
|
12720
|
+
end
|
12721
|
+
|
12305
12722
|
# ModifySnapshotByTimeOffsetTemplate请求参数结构体
|
12306
12723
|
class ModifySnapshotByTimeOffsetTemplateRequest < TencentCloud::Common::AbstractModel
|
12307
12724
|
# @param Definition: 指定时间点截图模板唯一标识。
|
@@ -14804,6 +15221,85 @@ module TencentCloud
|
|
14804
15221
|
end
|
14805
15222
|
end
|
14806
15223
|
|
15224
|
+
# 编排详情。
|
15225
|
+
class SchedulesInfo < TencentCloud::Common::AbstractModel
|
15226
|
+
# @param ScheduleId: 编排唯一标识。
|
15227
|
+
# @type ScheduleId: Integer
|
15228
|
+
# @param ScheduleName: 编排名称。
|
15229
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15230
|
+
# @type ScheduleName: String
|
15231
|
+
# @param Status: 编排状态,取值范围:
|
15232
|
+
# Enabled:已启用,
|
15233
|
+
# Disabled:已禁用。
|
15234
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15235
|
+
# @type Status: Array
|
15236
|
+
# @param Trigger: 编排绑定的触发规则。
|
15237
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15238
|
+
# @type Trigger: :class:`Tencentcloud::Mps.v20190612.models.WorkflowTrigger`
|
15239
|
+
# @param Activities: 编排任务列表。
|
15240
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15241
|
+
# @type Activities: Array
|
15242
|
+
# @param OutputStorage: 媒体处理的文件输出存储位置。
|
15243
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15244
|
+
# @type OutputStorage: :class:`Tencentcloud::Mps.v20190612.models.TaskOutputStorage`
|
15245
|
+
# @param OutputDir: 媒体处理生成的文件输出的目标目录。
|
15246
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15247
|
+
# @type OutputDir: String
|
15248
|
+
# @param TaskNotifyConfig: 任务的事件通知配置。
|
15249
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15250
|
+
# @type TaskNotifyConfig: :class:`Tencentcloud::Mps.v20190612.models.TaskNotifyConfig`
|
15251
|
+
# @param CreateTime: 创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
15252
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15253
|
+
# @type CreateTime: String
|
15254
|
+
# @param UpdateTime: 最后编辑时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/862/37710#52)。
|
15255
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
15256
|
+
# @type UpdateTime: String
|
15257
|
+
|
15258
|
+
attr_accessor :ScheduleId, :ScheduleName, :Status, :Trigger, :Activities, :OutputStorage, :OutputDir, :TaskNotifyConfig, :CreateTime, :UpdateTime
|
15259
|
+
|
15260
|
+
def initialize(scheduleid=nil, schedulename=nil, status=nil, trigger=nil, activities=nil, outputstorage=nil, outputdir=nil, tasknotifyconfig=nil, createtime=nil, updatetime=nil)
|
15261
|
+
@ScheduleId = scheduleid
|
15262
|
+
@ScheduleName = schedulename
|
15263
|
+
@Status = status
|
15264
|
+
@Trigger = trigger
|
15265
|
+
@Activities = activities
|
15266
|
+
@OutputStorage = outputstorage
|
15267
|
+
@OutputDir = outputdir
|
15268
|
+
@TaskNotifyConfig = tasknotifyconfig
|
15269
|
+
@CreateTime = createtime
|
15270
|
+
@UpdateTime = updatetime
|
15271
|
+
end
|
15272
|
+
|
15273
|
+
def deserialize(params)
|
15274
|
+
@ScheduleId = params['ScheduleId']
|
15275
|
+
@ScheduleName = params['ScheduleName']
|
15276
|
+
@Status = params['Status']
|
15277
|
+
unless params['Trigger'].nil?
|
15278
|
+
@Trigger = WorkflowTrigger.new
|
15279
|
+
@Trigger.deserialize(params['Trigger'])
|
15280
|
+
end
|
15281
|
+
unless params['Activities'].nil?
|
15282
|
+
@Activities = []
|
15283
|
+
params['Activities'].each do |i|
|
15284
|
+
activity_tmp = Activity.new
|
15285
|
+
activity_tmp.deserialize(i)
|
15286
|
+
@Activities << activity_tmp
|
15287
|
+
end
|
15288
|
+
end
|
15289
|
+
unless params['OutputStorage'].nil?
|
15290
|
+
@OutputStorage = TaskOutputStorage.new
|
15291
|
+
@OutputStorage.deserialize(params['OutputStorage'])
|
15292
|
+
end
|
15293
|
+
@OutputDir = params['OutputDir']
|
15294
|
+
unless params['TaskNotifyConfig'].nil?
|
15295
|
+
@TaskNotifyConfig = TaskNotifyConfig.new
|
15296
|
+
@TaskNotifyConfig.deserialize(params['TaskNotifyConfig'])
|
15297
|
+
end
|
15298
|
+
@CreateTime = params['CreateTime']
|
15299
|
+
@UpdateTime = params['UpdateTime']
|
15300
|
+
end
|
15301
|
+
end
|
15302
|
+
|
14807
15303
|
# 去划痕配置
|
14808
15304
|
class ScratchRepairConfig < TencentCloud::Common::AbstractModel
|
14809
15305
|
# @param Switch: 能力配置开关,可选值:
|
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.527
|
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-03-
|
11
|
+
date: 2023-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|