tencentcloud-sdk-tiw 3.0.547 → 3.0.549
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/v20190919/client.rb +192 -0
- data/lib/v20190919/models.rb +493 -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: b829576da5feb0e862a7b3c5c54eae1383142bda
|
4
|
+
data.tar.gz: 103d872cf6897e71ec9b1badeb4841a2a969d8f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d36f34406829a0a7d44dd46a478cc2705baf794368c222429a71af0a06d3e771fc1046122d91040ef6fae393603a792de5e6397d32263382788c4eafb4bade0b
|
7
|
+
data.tar.gz: 5b5fa7ac2fa8ef74d82984bd90faf1b76a64c9ad3183c8560ab534e996baebcfb1531a0ddf2787457b477bd32f8bc5f95b3cf4e153606d15ce5e9cc4a76b81dd
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.549
|
data/lib/v20190919/client.rb
CHANGED
@@ -101,6 +101,30 @@ module TencentCloud
|
|
101
101
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
102
102
|
end
|
103
103
|
|
104
|
+
# 检测PPT文件,识别PPT中包含的动态转码任务(Transcode)不支持的元素
|
105
|
+
|
106
|
+
# @param request: Request instance for CreatePPTCheckTask.
|
107
|
+
# @type request: :class:`Tencentcloud::tiw::V20190919::CreatePPTCheckTaskRequest`
|
108
|
+
# @rtype: :class:`Tencentcloud::tiw::V20190919::CreatePPTCheckTaskResponse`
|
109
|
+
def CreatePPTCheckTask(request)
|
110
|
+
body = send_request('CreatePPTCheckTask', request.serialize)
|
111
|
+
response = JSON.parse(body)
|
112
|
+
if response['Response'].key?('Error') == false
|
113
|
+
model = CreatePPTCheckTaskResponse.new
|
114
|
+
model.deserialize(response['Response'])
|
115
|
+
model
|
116
|
+
else
|
117
|
+
code = response['Response']['Error']['Code']
|
118
|
+
message = response['Response']['Error']['Message']
|
119
|
+
reqid = response['Response']['RequestId']
|
120
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
121
|
+
end
|
122
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
123
|
+
raise e
|
124
|
+
rescue StandardError => e
|
125
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
126
|
+
end
|
127
|
+
|
104
128
|
# 创建白板板书生成任务, 在任务结束后,如果提供了回调地址,将通过回调地址通知板书生成结果
|
105
129
|
|
106
130
|
# @param request: Request instance for CreateSnapshotTask.
|
@@ -389,6 +413,54 @@ module TencentCloud
|
|
389
413
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
390
414
|
end
|
391
415
|
|
416
|
+
# 查询PPT检测任务的执行进度或结果
|
417
|
+
|
418
|
+
# @param request: Request instance for DescribePPTCheck.
|
419
|
+
# @type request: :class:`Tencentcloud::tiw::V20190919::DescribePPTCheckRequest`
|
420
|
+
# @rtype: :class:`Tencentcloud::tiw::V20190919::DescribePPTCheckResponse`
|
421
|
+
def DescribePPTCheck(request)
|
422
|
+
body = send_request('DescribePPTCheck', request.serialize)
|
423
|
+
response = JSON.parse(body)
|
424
|
+
if response['Response'].key?('Error') == false
|
425
|
+
model = DescribePPTCheckResponse.new
|
426
|
+
model.deserialize(response['Response'])
|
427
|
+
model
|
428
|
+
else
|
429
|
+
code = response['Response']['Error']['Code']
|
430
|
+
message = response['Response']['Error']['Message']
|
431
|
+
reqid = response['Response']['RequestId']
|
432
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
433
|
+
end
|
434
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
435
|
+
raise e
|
436
|
+
rescue StandardError => e
|
437
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
438
|
+
end
|
439
|
+
|
440
|
+
# 查询PPT检测任务回调地址
|
441
|
+
|
442
|
+
# @param request: Request instance for DescribePPTCheckCallback.
|
443
|
+
# @type request: :class:`Tencentcloud::tiw::V20190919::DescribePPTCheckCallbackRequest`
|
444
|
+
# @rtype: :class:`Tencentcloud::tiw::V20190919::DescribePPTCheckCallbackResponse`
|
445
|
+
def DescribePPTCheckCallback(request)
|
446
|
+
body = send_request('DescribePPTCheckCallback', request.serialize)
|
447
|
+
response = JSON.parse(body)
|
448
|
+
if response['Response'].key?('Error') == false
|
449
|
+
model = DescribePPTCheckCallbackResponse.new
|
450
|
+
model.deserialize(response['Response'])
|
451
|
+
model
|
452
|
+
else
|
453
|
+
code = response['Response']['Error']['Code']
|
454
|
+
message = response['Response']['Error']['Message']
|
455
|
+
reqid = response['Response']['RequestId']
|
456
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
457
|
+
end
|
458
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
459
|
+
raise e
|
460
|
+
rescue StandardError => e
|
461
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
462
|
+
end
|
463
|
+
|
392
464
|
# 查询用户后付费用量
|
393
465
|
|
394
466
|
# @param request: Request instance for DescribePostpaidUsage.
|
@@ -485,6 +557,30 @@ module TencentCloud
|
|
485
557
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
486
558
|
end
|
487
559
|
|
560
|
+
# 根据指定的任务类型,获取当前正在执行中的任务列表。只能查询最近3天内创建的任务。
|
561
|
+
|
562
|
+
# @param request: Request instance for DescribeRunningTasks.
|
563
|
+
# @type request: :class:`Tencentcloud::tiw::V20190919::DescribeRunningTasksRequest`
|
564
|
+
# @rtype: :class:`Tencentcloud::tiw::V20190919::DescribeRunningTasksResponse`
|
565
|
+
def DescribeRunningTasks(request)
|
566
|
+
body = send_request('DescribeRunningTasks', request.serialize)
|
567
|
+
response = JSON.parse(body)
|
568
|
+
if response['Response'].key?('Error') == false
|
569
|
+
model = DescribeRunningTasksResponse.new
|
570
|
+
model.deserialize(response['Response'])
|
571
|
+
model
|
572
|
+
else
|
573
|
+
code = response['Response']['Error']['Code']
|
574
|
+
message = response['Response']['Error']['Message']
|
575
|
+
reqid = response['Response']['RequestId']
|
576
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
577
|
+
end
|
578
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
579
|
+
raise e
|
580
|
+
rescue StandardError => e
|
581
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
582
|
+
end
|
583
|
+
|
488
584
|
# 获取指定白板板书生成任务信息
|
489
585
|
|
490
586
|
# @param request: Request instance for DescribeSnapshotTask.
|
@@ -777,6 +873,30 @@ module TencentCloud
|
|
777
873
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
778
874
|
end
|
779
875
|
|
876
|
+
# 查询告警回调地址。此功能需要申请白名单使用。
|
877
|
+
|
878
|
+
# @param request: Request instance for DescribeWarningCallback.
|
879
|
+
# @type request: :class:`Tencentcloud::tiw::V20190919::DescribeWarningCallbackRequest`
|
880
|
+
# @rtype: :class:`Tencentcloud::tiw::V20190919::DescribeWarningCallbackResponse`
|
881
|
+
def DescribeWarningCallback(request)
|
882
|
+
body = send_request('DescribeWarningCallback', request.serialize)
|
883
|
+
response = JSON.parse(body)
|
884
|
+
if response['Response'].key?('Error') == false
|
885
|
+
model = DescribeWarningCallbackResponse.new
|
886
|
+
model.deserialize(response['Response'])
|
887
|
+
model
|
888
|
+
else
|
889
|
+
code = response['Response']['Error']['Code']
|
890
|
+
message = response['Response']['Error']['Message']
|
891
|
+
reqid = response['Response']['RequestId']
|
892
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
893
|
+
end
|
894
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
895
|
+
raise e
|
896
|
+
rescue StandardError => e
|
897
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
898
|
+
end
|
899
|
+
|
780
900
|
# 查询白板应用任务相关的配置,包括存储桶、回调等
|
781
901
|
|
782
902
|
# @param request: Request instance for DescribeWhiteboardApplicationConfig.
|
@@ -1113,6 +1233,54 @@ module TencentCloud
|
|
1113
1233
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1114
1234
|
end
|
1115
1235
|
|
1236
|
+
# 设置PPT检测任务回调地址,回调数据格式请参考文档:https://cloud.tencent.com/document/product/1137/40260
|
1237
|
+
|
1238
|
+
# @param request: Request instance for SetPPTCheckCallback.
|
1239
|
+
# @type request: :class:`Tencentcloud::tiw::V20190919::SetPPTCheckCallbackRequest`
|
1240
|
+
# @rtype: :class:`Tencentcloud::tiw::V20190919::SetPPTCheckCallbackResponse`
|
1241
|
+
def SetPPTCheckCallback(request)
|
1242
|
+
body = send_request('SetPPTCheckCallback', request.serialize)
|
1243
|
+
response = JSON.parse(body)
|
1244
|
+
if response['Response'].key?('Error') == false
|
1245
|
+
model = SetPPTCheckCallbackResponse.new
|
1246
|
+
model.deserialize(response['Response'])
|
1247
|
+
model
|
1248
|
+
else
|
1249
|
+
code = response['Response']['Error']['Code']
|
1250
|
+
message = response['Response']['Error']['Message']
|
1251
|
+
reqid = response['Response']['RequestId']
|
1252
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1253
|
+
end
|
1254
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1255
|
+
raise e
|
1256
|
+
rescue StandardError => e
|
1257
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1258
|
+
end
|
1259
|
+
|
1260
|
+
# 设置PPT检测任务回调密钥,回调鉴权方式请参考文档:https://cloud.tencent.com/document/product/1137/40257
|
1261
|
+
|
1262
|
+
# @param request: Request instance for SetPPTCheckCallbackKey.
|
1263
|
+
# @type request: :class:`Tencentcloud::tiw::V20190919::SetPPTCheckCallbackKeyRequest`
|
1264
|
+
# @rtype: :class:`Tencentcloud::tiw::V20190919::SetPPTCheckCallbackKeyResponse`
|
1265
|
+
def SetPPTCheckCallbackKey(request)
|
1266
|
+
body = send_request('SetPPTCheckCallbackKey', request.serialize)
|
1267
|
+
response = JSON.parse(body)
|
1268
|
+
if response['Response'].key?('Error') == false
|
1269
|
+
model = SetPPTCheckCallbackKeyResponse.new
|
1270
|
+
model.deserialize(response['Response'])
|
1271
|
+
model
|
1272
|
+
else
|
1273
|
+
code = response['Response']['Error']['Code']
|
1274
|
+
message = response['Response']['Error']['Message']
|
1275
|
+
reqid = response['Response']['RequestId']
|
1276
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1277
|
+
end
|
1278
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1279
|
+
raise e
|
1280
|
+
rescue StandardError => e
|
1281
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1282
|
+
end
|
1283
|
+
|
1116
1284
|
# 设置文档转码回调地址,回调数据格式请参考文档:https://cloud.tencent.com/document/product/1137/40260
|
1117
1285
|
|
1118
1286
|
# @param request: Request instance for SetTranscodeCallback.
|
@@ -1209,6 +1377,30 @@ module TencentCloud
|
|
1209
1377
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1210
1378
|
end
|
1211
1379
|
|
1380
|
+
# 设置告警回调地址。此功能需要申请白名单使用。
|
1381
|
+
|
1382
|
+
# @param request: Request instance for SetWarningCallback.
|
1383
|
+
# @type request: :class:`Tencentcloud::tiw::V20190919::SetWarningCallbackRequest`
|
1384
|
+
# @rtype: :class:`Tencentcloud::tiw::V20190919::SetWarningCallbackResponse`
|
1385
|
+
def SetWarningCallback(request)
|
1386
|
+
body = send_request('SetWarningCallback', request.serialize)
|
1387
|
+
response = JSON.parse(body)
|
1388
|
+
if response['Response'].key?('Error') == false
|
1389
|
+
model = SetWarningCallbackResponse.new
|
1390
|
+
model.deserialize(response['Response'])
|
1391
|
+
model
|
1392
|
+
else
|
1393
|
+
code = response['Response']['Error']['Code']
|
1394
|
+
message = response['Response']['Error']['Message']
|
1395
|
+
reqid = response['Response']['RequestId']
|
1396
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1397
|
+
end
|
1398
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1399
|
+
raise e
|
1400
|
+
rescue StandardError => e
|
1401
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1402
|
+
end
|
1403
|
+
|
1212
1404
|
# 设置白板推流回调地址,回调数据格式请参考文档:https://cloud.tencent.com/document/product/1137/40257
|
1213
1405
|
|
1214
1406
|
# @param request: Request instance for SetWhiteboardPushCallback.
|
data/lib/v20190919/models.rb
CHANGED
@@ -269,6 +269,55 @@ module TencentCloud
|
|
269
269
|
end
|
270
270
|
end
|
271
271
|
|
272
|
+
# CreatePPTCheckTask请求参数结构体
|
273
|
+
class CreatePPTCheckTaskRequest < TencentCloud::Common::AbstractModel
|
274
|
+
# @param SdkAppId: 客户的SdkAppId
|
275
|
+
# @type SdkAppId: Integer
|
276
|
+
# @param Url: 经过URL编码后的PPT文件地址。URL 编码会将字符转换为可通过因特网传输的格式,比如文档地址为http://example.com/测试.pptx,经过URL编码之后为http://example.com/%E6%B5%8B%E8%AF%95.pptx。为了提高URL解析的成功率,请对URL进行编码。
|
277
|
+
# @type Url: String
|
278
|
+
# @param AutoHandleUnsupportedElement: 是否对不支持元素开启自动处理的功能。默认不开启。
|
279
|
+
|
280
|
+
# 在开启自动处理的情况下,会自动进行如下处理:
|
281
|
+
# 1. 墨迹:移除不支持的墨迹(比如使用WPS画的)
|
282
|
+
# 2. 自动翻页:移除PPT上所有的自动翻页设置,并设置为单击鼠标翻页
|
283
|
+
# 3. 已损坏音视频:移除PPT上对损坏音视频的引用
|
284
|
+
# @type AutoHandleUnsupportedElement: Boolean
|
285
|
+
|
286
|
+
attr_accessor :SdkAppId, :Url, :AutoHandleUnsupportedElement
|
287
|
+
|
288
|
+
def initialize(sdkappid=nil, url=nil, autohandleunsupportedelement=nil)
|
289
|
+
@SdkAppId = sdkappid
|
290
|
+
@Url = url
|
291
|
+
@AutoHandleUnsupportedElement = autohandleunsupportedelement
|
292
|
+
end
|
293
|
+
|
294
|
+
def deserialize(params)
|
295
|
+
@SdkAppId = params['SdkAppId']
|
296
|
+
@Url = params['Url']
|
297
|
+
@AutoHandleUnsupportedElement = params['AutoHandleUnsupportedElement']
|
298
|
+
end
|
299
|
+
end
|
300
|
+
|
301
|
+
# CreatePPTCheckTask返回参数结构体
|
302
|
+
class CreatePPTCheckTaskResponse < TencentCloud::Common::AbstractModel
|
303
|
+
# @param TaskId: 检测任务的唯一标识Id,用于查询该任务的进度以及检测结果
|
304
|
+
# @type TaskId: String
|
305
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
306
|
+
# @type RequestId: String
|
307
|
+
|
308
|
+
attr_accessor :TaskId, :RequestId
|
309
|
+
|
310
|
+
def initialize(taskid=nil, requestid=nil)
|
311
|
+
@TaskId = taskid
|
312
|
+
@RequestId = requestid
|
313
|
+
end
|
314
|
+
|
315
|
+
def deserialize(params)
|
316
|
+
@TaskId = params['TaskId']
|
317
|
+
@RequestId = params['RequestId']
|
318
|
+
end
|
319
|
+
end
|
320
|
+
|
272
321
|
# CreateSnapshotTask请求参数结构体
|
273
322
|
class CreateSnapshotTaskRequest < TencentCloud::Common::AbstractModel
|
274
323
|
# @param Whiteboard: 白板相关参数
|
@@ -1057,6 +1106,115 @@ module TencentCloud
|
|
1057
1106
|
end
|
1058
1107
|
end
|
1059
1108
|
|
1109
|
+
# DescribePPTCheckCallback请求参数结构体
|
1110
|
+
class DescribePPTCheckCallbackRequest < TencentCloud::Common::AbstractModel
|
1111
|
+
# @param SdkAppId: 应用的SdkAppId
|
1112
|
+
# @type SdkAppId: Integer
|
1113
|
+
|
1114
|
+
attr_accessor :SdkAppId
|
1115
|
+
|
1116
|
+
def initialize(sdkappid=nil)
|
1117
|
+
@SdkAppId = sdkappid
|
1118
|
+
end
|
1119
|
+
|
1120
|
+
def deserialize(params)
|
1121
|
+
@SdkAppId = params['SdkAppId']
|
1122
|
+
end
|
1123
|
+
end
|
1124
|
+
|
1125
|
+
# DescribePPTCheckCallback返回参数结构体
|
1126
|
+
class DescribePPTCheckCallbackResponse < TencentCloud::Common::AbstractModel
|
1127
|
+
# @param Callback: 回调地址
|
1128
|
+
# @type Callback: String
|
1129
|
+
# @param CallbackKey: 回调鉴权密钥
|
1130
|
+
# @type CallbackKey: String
|
1131
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1132
|
+
# @type RequestId: String
|
1133
|
+
|
1134
|
+
attr_accessor :Callback, :CallbackKey, :RequestId
|
1135
|
+
|
1136
|
+
def initialize(callback=nil, callbackkey=nil, requestid=nil)
|
1137
|
+
@Callback = callback
|
1138
|
+
@CallbackKey = callbackkey
|
1139
|
+
@RequestId = requestid
|
1140
|
+
end
|
1141
|
+
|
1142
|
+
def deserialize(params)
|
1143
|
+
@Callback = params['Callback']
|
1144
|
+
@CallbackKey = params['CallbackKey']
|
1145
|
+
@RequestId = params['RequestId']
|
1146
|
+
end
|
1147
|
+
end
|
1148
|
+
|
1149
|
+
# DescribePPTCheck请求参数结构体
|
1150
|
+
class DescribePPTCheckRequest < TencentCloud::Common::AbstractModel
|
1151
|
+
# @param SdkAppId: 客户的SdkAppId
|
1152
|
+
# @type SdkAppId: Integer
|
1153
|
+
# @param TaskId: 任务的唯一标识Id
|
1154
|
+
# @type TaskId: String
|
1155
|
+
|
1156
|
+
attr_accessor :SdkAppId, :TaskId
|
1157
|
+
|
1158
|
+
def initialize(sdkappid=nil, taskid=nil)
|
1159
|
+
@SdkAppId = sdkappid
|
1160
|
+
@TaskId = taskid
|
1161
|
+
end
|
1162
|
+
|
1163
|
+
def deserialize(params)
|
1164
|
+
@SdkAppId = params['SdkAppId']
|
1165
|
+
@TaskId = params['TaskId']
|
1166
|
+
end
|
1167
|
+
end
|
1168
|
+
|
1169
|
+
# DescribePPTCheck返回参数结构体
|
1170
|
+
class DescribePPTCheckResponse < TencentCloud::Common::AbstractModel
|
1171
|
+
# @param TaskId: 任务的唯一标识Id
|
1172
|
+
# @type TaskId: String
|
1173
|
+
# @param IsOK: PPT文件是否正常
|
1174
|
+
# @type IsOK: Boolean
|
1175
|
+
# @param ResultUrl: 修复后的PPT URL,只有创建任务时参数AutoHandleUnsupportedElement=true,才返回此参数
|
1176
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1177
|
+
# @type ResultUrl: String
|
1178
|
+
# @param Slides: 错误PPT页面列表
|
1179
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1180
|
+
# @type Slides: Array
|
1181
|
+
# @param Status: 任务的当前状态 - QUEUED: 正在排队等待 - PROCESSING: 执行中 - FINISHED: 执行完成
|
1182
|
+
# @type Status: String
|
1183
|
+
# @param Progress: 当前进度,取值范围为0~100
|
1184
|
+
# @type Progress: Integer
|
1185
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1186
|
+
# @type RequestId: String
|
1187
|
+
|
1188
|
+
attr_accessor :TaskId, :IsOK, :ResultUrl, :Slides, :Status, :Progress, :RequestId
|
1189
|
+
|
1190
|
+
def initialize(taskid=nil, isok=nil, resulturl=nil, slides=nil, status=nil, progress=nil, requestid=nil)
|
1191
|
+
@TaskId = taskid
|
1192
|
+
@IsOK = isok
|
1193
|
+
@ResultUrl = resulturl
|
1194
|
+
@Slides = slides
|
1195
|
+
@Status = status
|
1196
|
+
@Progress = progress
|
1197
|
+
@RequestId = requestid
|
1198
|
+
end
|
1199
|
+
|
1200
|
+
def deserialize(params)
|
1201
|
+
@TaskId = params['TaskId']
|
1202
|
+
@IsOK = params['IsOK']
|
1203
|
+
@ResultUrl = params['ResultUrl']
|
1204
|
+
unless params['Slides'].nil?
|
1205
|
+
@Slides = []
|
1206
|
+
params['Slides'].each do |i|
|
1207
|
+
ppterrslide_tmp = PPTErrSlide.new
|
1208
|
+
ppterrslide_tmp.deserialize(i)
|
1209
|
+
@Slides << ppterrslide_tmp
|
1210
|
+
end
|
1211
|
+
end
|
1212
|
+
@Status = params['Status']
|
1213
|
+
@Progress = params['Progress']
|
1214
|
+
@RequestId = params['RequestId']
|
1215
|
+
end
|
1216
|
+
end
|
1217
|
+
|
1060
1218
|
# DescribePostpaidUsage请求参数结构体
|
1061
1219
|
class DescribePostpaidUsageRequest < TencentCloud::Common::AbstractModel
|
1062
1220
|
# @param BeginTime: 开始时间
|
@@ -1264,6 +1422,71 @@ module TencentCloud
|
|
1264
1422
|
end
|
1265
1423
|
end
|
1266
1424
|
|
1425
|
+
# DescribeRunningTasks请求参数结构体
|
1426
|
+
class DescribeRunningTasksRequest < TencentCloud::Common::AbstractModel
|
1427
|
+
# @param SdkAppID: 应用的SdkAppID
|
1428
|
+
# @type SdkAppID: Integer
|
1429
|
+
# @param TaskType: 指定需要获取的任务类型。
|
1430
|
+
# 有效取值如下:
|
1431
|
+
# - TranscodeH5: 动态转码任务,文档转HTML5页面
|
1432
|
+
# - TranscodeJPG: 静态转码任务,文档转图片
|
1433
|
+
# - WhiteboardPush: 白板推流任务
|
1434
|
+
# - OnlineRecord: 实时录制任务
|
1435
|
+
# @type TaskType: String
|
1436
|
+
# @param Offset: 分页获取时的任务偏移量,默认为0。
|
1437
|
+
# @type Offset: Integer
|
1438
|
+
# @param Limit: 每次获取任务列表时最大获取任务数,默认值为100。
|
1439
|
+
# 有效取值范围:[1, 500]
|
1440
|
+
# @type Limit: Integer
|
1441
|
+
|
1442
|
+
attr_accessor :SdkAppID, :TaskType, :Offset, :Limit
|
1443
|
+
|
1444
|
+
def initialize(sdkappid=nil, tasktype=nil, offset=nil, limit=nil)
|
1445
|
+
@SdkAppID = sdkappid
|
1446
|
+
@TaskType = tasktype
|
1447
|
+
@Offset = offset
|
1448
|
+
@Limit = limit
|
1449
|
+
end
|
1450
|
+
|
1451
|
+
def deserialize(params)
|
1452
|
+
@SdkAppID = params['SdkAppID']
|
1453
|
+
@TaskType = params['TaskType']
|
1454
|
+
@Offset = params['Offset']
|
1455
|
+
@Limit = params['Limit']
|
1456
|
+
end
|
1457
|
+
end
|
1458
|
+
|
1459
|
+
# DescribeRunningTasks返回参数结构体
|
1460
|
+
class DescribeRunningTasksResponse < TencentCloud::Common::AbstractModel
|
1461
|
+
# @param Total: 当前正在执行中的任务总数
|
1462
|
+
# @type Total: Integer
|
1463
|
+
# @param Tasks: 任务信息列表
|
1464
|
+
# @type Tasks: Array
|
1465
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1466
|
+
# @type RequestId: String
|
1467
|
+
|
1468
|
+
attr_accessor :Total, :Tasks, :RequestId
|
1469
|
+
|
1470
|
+
def initialize(total=nil, tasks=nil, requestid=nil)
|
1471
|
+
@Total = total
|
1472
|
+
@Tasks = tasks
|
1473
|
+
@RequestId = requestid
|
1474
|
+
end
|
1475
|
+
|
1476
|
+
def deserialize(params)
|
1477
|
+
@Total = params['Total']
|
1478
|
+
unless params['Tasks'].nil?
|
1479
|
+
@Tasks = []
|
1480
|
+
params['Tasks'].each do |i|
|
1481
|
+
runningtaskitem_tmp = RunningTaskItem.new
|
1482
|
+
runningtaskitem_tmp.deserialize(i)
|
1483
|
+
@Tasks << runningtaskitem_tmp
|
1484
|
+
end
|
1485
|
+
end
|
1486
|
+
@RequestId = params['RequestId']
|
1487
|
+
end
|
1488
|
+
end
|
1489
|
+
|
1267
1490
|
# DescribeSnapshotTask请求参数结构体
|
1268
1491
|
class DescribeSnapshotTaskRequest < TencentCloud::Common::AbstractModel
|
1269
1492
|
# @param TaskID: 查询任务ID
|
@@ -1943,6 +2166,46 @@ module TencentCloud
|
|
1943
2166
|
end
|
1944
2167
|
end
|
1945
2168
|
|
2169
|
+
# DescribeWarningCallback请求参数结构体
|
2170
|
+
class DescribeWarningCallbackRequest < TencentCloud::Common::AbstractModel
|
2171
|
+
# @param SdkAppId: 应用的SdkAppId
|
2172
|
+
# @type SdkAppId: Integer
|
2173
|
+
|
2174
|
+
attr_accessor :SdkAppId
|
2175
|
+
|
2176
|
+
def initialize(sdkappid=nil)
|
2177
|
+
@SdkAppId = sdkappid
|
2178
|
+
end
|
2179
|
+
|
2180
|
+
def deserialize(params)
|
2181
|
+
@SdkAppId = params['SdkAppId']
|
2182
|
+
end
|
2183
|
+
end
|
2184
|
+
|
2185
|
+
# DescribeWarningCallback返回参数结构体
|
2186
|
+
class DescribeWarningCallbackResponse < TencentCloud::Common::AbstractModel
|
2187
|
+
# @param Callback: 告警事件回调地址,如果未设置回调地址,该字段为空字符串
|
2188
|
+
# @type Callback: String
|
2189
|
+
# @param CallbackKey: 告警回调鉴权密钥
|
2190
|
+
# @type CallbackKey: String
|
2191
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2192
|
+
# @type RequestId: String
|
2193
|
+
|
2194
|
+
attr_accessor :Callback, :CallbackKey, :RequestId
|
2195
|
+
|
2196
|
+
def initialize(callback=nil, callbackkey=nil, requestid=nil)
|
2197
|
+
@Callback = callback
|
2198
|
+
@CallbackKey = callbackkey
|
2199
|
+
@RequestId = requestid
|
2200
|
+
end
|
2201
|
+
|
2202
|
+
def deserialize(params)
|
2203
|
+
@Callback = params['Callback']
|
2204
|
+
@CallbackKey = params['CallbackKey']
|
2205
|
+
@RequestId = params['RequestId']
|
2206
|
+
end
|
2207
|
+
end
|
2208
|
+
|
1946
2209
|
# DescribeWhiteboardApplicationConfig请求参数结构体
|
1947
2210
|
class DescribeWhiteboardApplicationConfigRequest < TencentCloud::Common::AbstractModel
|
1948
2211
|
# @param SdkAppId: 客户的SdkAppId
|
@@ -2522,6 +2785,62 @@ module TencentCloud
|
|
2522
2785
|
end
|
2523
2786
|
end
|
2524
2787
|
|
2788
|
+
# PPT错误元素
|
2789
|
+
class PPTErr < TencentCloud::Common::AbstractModel
|
2790
|
+
# @param Name: 元素名称
|
2791
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2792
|
+
# @type Name: String
|
2793
|
+
# @param Type: 0: 不支持的墨迹类型,1: 不支持自动翻页,2: 存在已损坏音视频,3: 存在不可访问资源,4: 只读文件
|
2794
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2795
|
+
# @type Type: Integer
|
2796
|
+
# @param Detail: 错误详情
|
2797
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2798
|
+
# @type Detail: String
|
2799
|
+
|
2800
|
+
attr_accessor :Name, :Type, :Detail
|
2801
|
+
|
2802
|
+
def initialize(name=nil, type=nil, detail=nil)
|
2803
|
+
@Name = name
|
2804
|
+
@Type = type
|
2805
|
+
@Detail = detail
|
2806
|
+
end
|
2807
|
+
|
2808
|
+
def deserialize(params)
|
2809
|
+
@Name = params['Name']
|
2810
|
+
@Type = params['Type']
|
2811
|
+
@Detail = params['Detail']
|
2812
|
+
end
|
2813
|
+
end
|
2814
|
+
|
2815
|
+
# PPT错误页面列表
|
2816
|
+
class PPTErrSlide < TencentCloud::Common::AbstractModel
|
2817
|
+
# @param Page: 异常元素存在的页面,由页面类型+页码组成,页码类型包括:幻灯片、幻灯片母版、幻灯片布局等
|
2818
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2819
|
+
# @type Page: String
|
2820
|
+
# @param Errs: 错误元素列表
|
2821
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2822
|
+
# @type Errs: Array
|
2823
|
+
|
2824
|
+
attr_accessor :Page, :Errs
|
2825
|
+
|
2826
|
+
def initialize(page=nil, errs=nil)
|
2827
|
+
@Page = page
|
2828
|
+
@Errs = errs
|
2829
|
+
end
|
2830
|
+
|
2831
|
+
def deserialize(params)
|
2832
|
+
@Page = params['Page']
|
2833
|
+
unless params['Errs'].nil?
|
2834
|
+
@Errs = []
|
2835
|
+
params['Errs'].each do |i|
|
2836
|
+
ppterr_tmp = PPTErr.new
|
2837
|
+
ppterr_tmp.deserialize(i)
|
2838
|
+
@Errs << ppterr_tmp
|
2839
|
+
end
|
2840
|
+
end
|
2841
|
+
end
|
2842
|
+
end
|
2843
|
+
|
2525
2844
|
# PauseOnlineRecord请求参数结构体
|
2526
2845
|
class PauseOnlineRecordRequest < TencentCloud::Common::AbstractModel
|
2527
2846
|
# @param SdkAppId: 客户的SdkAppId
|
@@ -2829,6 +3148,67 @@ module TencentCloud
|
|
2829
3148
|
end
|
2830
3149
|
end
|
2831
3150
|
|
3151
|
+
# 正在运行的任务列表项
|
3152
|
+
class RunningTaskItem < TencentCloud::Common::AbstractModel
|
3153
|
+
# @param SdkAppID: 应用SdkAppID
|
3154
|
+
# @type SdkAppID: Integer
|
3155
|
+
# @param TaskID: 任务ID
|
3156
|
+
# @type TaskID: String
|
3157
|
+
# @param TaskType: 任务类型
|
3158
|
+
# - TranscodeH5: 动态转码任务,文档转HTML5页面
|
3159
|
+
# - TranscodeJPG: 静态转码任务,文档转图片
|
3160
|
+
# - WhiteboardPush: 白板推流任务
|
3161
|
+
# - OnlineRecord: 实时录制任务
|
3162
|
+
# @type TaskType: String
|
3163
|
+
# @param CreateTime: 任务创建时间
|
3164
|
+
# @type CreateTime: String
|
3165
|
+
# @param CancelTime: 任务取消时间
|
3166
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3167
|
+
# @type CancelTime: String
|
3168
|
+
# @param Status: 任务状态
|
3169
|
+
# - QUEUED: 任务正在排队等待执行中
|
3170
|
+
# - PROCESSING: 任务正在执行中
|
3171
|
+
# - FINISHED: 任务已完成
|
3172
|
+
# @type Status: String
|
3173
|
+
# @param Progress: 任务当前进度
|
3174
|
+
# @type Progress: Integer
|
3175
|
+
# @param FileURL: 转码任务中转码文件的原始URL
|
3176
|
+
# 此参数只有任务类型为TranscodeH5、TranscodeJPG类型时才会有有效值。其他任务类型为空字符串。
|
3177
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3178
|
+
# @type FileURL: String
|
3179
|
+
# @param RoomID: 房间号
|
3180
|
+
|
3181
|
+
# 当任务类型为TranscodeH5、TranscodeJPG时,房间号为0。
|
3182
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3183
|
+
# @type RoomID: Integer
|
3184
|
+
|
3185
|
+
attr_accessor :SdkAppID, :TaskID, :TaskType, :CreateTime, :CancelTime, :Status, :Progress, :FileURL, :RoomID
|
3186
|
+
|
3187
|
+
def initialize(sdkappid=nil, taskid=nil, tasktype=nil, createtime=nil, canceltime=nil, status=nil, progress=nil, fileurl=nil, roomid=nil)
|
3188
|
+
@SdkAppID = sdkappid
|
3189
|
+
@TaskID = taskid
|
3190
|
+
@TaskType = tasktype
|
3191
|
+
@CreateTime = createtime
|
3192
|
+
@CancelTime = canceltime
|
3193
|
+
@Status = status
|
3194
|
+
@Progress = progress
|
3195
|
+
@FileURL = fileurl
|
3196
|
+
@RoomID = roomid
|
3197
|
+
end
|
3198
|
+
|
3199
|
+
def deserialize(params)
|
3200
|
+
@SdkAppID = params['SdkAppID']
|
3201
|
+
@TaskID = params['TaskID']
|
3202
|
+
@TaskType = params['TaskType']
|
3203
|
+
@CreateTime = params['CreateTime']
|
3204
|
+
@CancelTime = params['CancelTime']
|
3205
|
+
@Status = params['Status']
|
3206
|
+
@Progress = params['Progress']
|
3207
|
+
@FileURL = params['FileURL']
|
3208
|
+
@RoomID = params['RoomID']
|
3209
|
+
end
|
3210
|
+
end
|
3211
|
+
|
2832
3212
|
# SetOfflineRecordCallback请求参数结构体
|
2833
3213
|
class SetOfflineRecordCallbackRequest < TencentCloud::Common::AbstractModel
|
2834
3214
|
# @param SdkAppId: 客户的SdkAppId
|
@@ -2937,6 +3317,78 @@ module TencentCloud
|
|
2937
3317
|
end
|
2938
3318
|
end
|
2939
3319
|
|
3320
|
+
# SetPPTCheckCallbackKey请求参数结构体
|
3321
|
+
class SetPPTCheckCallbackKeyRequest < TencentCloud::Common::AbstractModel
|
3322
|
+
# @param SdkAppId: 应用的SdkAppId
|
3323
|
+
# @type SdkAppId: Integer
|
3324
|
+
# @param CallbackKey: 设置回调鉴权密钥,最长64字符,如果传入空字符串,那么删除现有的鉴权回调密钥,回调鉴权方式请参考文档:https://cloud.tencent.com/document/product/1137/40257
|
3325
|
+
# @type CallbackKey: String
|
3326
|
+
|
3327
|
+
attr_accessor :SdkAppId, :CallbackKey
|
3328
|
+
|
3329
|
+
def initialize(sdkappid=nil, callbackkey=nil)
|
3330
|
+
@SdkAppId = sdkappid
|
3331
|
+
@CallbackKey = callbackkey
|
3332
|
+
end
|
3333
|
+
|
3334
|
+
def deserialize(params)
|
3335
|
+
@SdkAppId = params['SdkAppId']
|
3336
|
+
@CallbackKey = params['CallbackKey']
|
3337
|
+
end
|
3338
|
+
end
|
3339
|
+
|
3340
|
+
# SetPPTCheckCallbackKey返回参数结构体
|
3341
|
+
class SetPPTCheckCallbackKeyResponse < TencentCloud::Common::AbstractModel
|
3342
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3343
|
+
# @type RequestId: String
|
3344
|
+
|
3345
|
+
attr_accessor :RequestId
|
3346
|
+
|
3347
|
+
def initialize(requestid=nil)
|
3348
|
+
@RequestId = requestid
|
3349
|
+
end
|
3350
|
+
|
3351
|
+
def deserialize(params)
|
3352
|
+
@RequestId = params['RequestId']
|
3353
|
+
end
|
3354
|
+
end
|
3355
|
+
|
3356
|
+
# SetPPTCheckCallback请求参数结构体
|
3357
|
+
class SetPPTCheckCallbackRequest < TencentCloud::Common::AbstractModel
|
3358
|
+
# @param SdkAppId: 客户的SdkAppId
|
3359
|
+
# @type SdkAppId: Integer
|
3360
|
+
# @param Callback: 进度回调地址,如果传空字符串会删除原来的回调地址配置,回调地址仅支持http或https协议,即回调地址以http://或https://开头。 回调数据格式请参考文档:https://cloud.tencent.com/document/product/1137/40260
|
3361
|
+
# @type Callback: String
|
3362
|
+
|
3363
|
+
attr_accessor :SdkAppId, :Callback
|
3364
|
+
|
3365
|
+
def initialize(sdkappid=nil, callback=nil)
|
3366
|
+
@SdkAppId = sdkappid
|
3367
|
+
@Callback = callback
|
3368
|
+
end
|
3369
|
+
|
3370
|
+
def deserialize(params)
|
3371
|
+
@SdkAppId = params['SdkAppId']
|
3372
|
+
@Callback = params['Callback']
|
3373
|
+
end
|
3374
|
+
end
|
3375
|
+
|
3376
|
+
# SetPPTCheckCallback返回参数结构体
|
3377
|
+
class SetPPTCheckCallbackResponse < TencentCloud::Common::AbstractModel
|
3378
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3379
|
+
# @type RequestId: String
|
3380
|
+
|
3381
|
+
attr_accessor :RequestId
|
3382
|
+
|
3383
|
+
def initialize(requestid=nil)
|
3384
|
+
@RequestId = requestid
|
3385
|
+
end
|
3386
|
+
|
3387
|
+
def deserialize(params)
|
3388
|
+
@RequestId = params['RequestId']
|
3389
|
+
end
|
3390
|
+
end
|
3391
|
+
|
2940
3392
|
# SetTranscodeCallbackKey请求参数结构体
|
2941
3393
|
class SetTranscodeCallbackKeyRequest < TencentCloud::Common::AbstractModel
|
2942
3394
|
# @param SdkAppId: 应用的SdkAppId
|
@@ -3082,6 +3534,47 @@ module TencentCloud
|
|
3082
3534
|
end
|
3083
3535
|
end
|
3084
3536
|
|
3537
|
+
# SetWarningCallback请求参数结构体
|
3538
|
+
class SetWarningCallbackRequest < TencentCloud::Common::AbstractModel
|
3539
|
+
# @param SdkAppId: 客户的SdkAppId
|
3540
|
+
# @type SdkAppId: Integer
|
3541
|
+
# @param Callback: 告警回调地址,如果传空字符串会删除原来的回调地址配置,回调地址仅支持http或https协议,即回调地址以http://或https://开头。
|
3542
|
+
# 回调数据格式请参考文档:
|
3543
|
+
# @type Callback: String
|
3544
|
+
# @param CallbackKey: 设置告警回调鉴权密钥,最长64字符,如果传入空字符串,那么删除现有的鉴权回调密钥,回调鉴权方式请参考文档:https://cloud.tencent.com/document/product/1137/40257
|
3545
|
+
# @type CallbackKey: String
|
3546
|
+
|
3547
|
+
attr_accessor :SdkAppId, :Callback, :CallbackKey
|
3548
|
+
|
3549
|
+
def initialize(sdkappid=nil, callback=nil, callbackkey=nil)
|
3550
|
+
@SdkAppId = sdkappid
|
3551
|
+
@Callback = callback
|
3552
|
+
@CallbackKey = callbackkey
|
3553
|
+
end
|
3554
|
+
|
3555
|
+
def deserialize(params)
|
3556
|
+
@SdkAppId = params['SdkAppId']
|
3557
|
+
@Callback = params['Callback']
|
3558
|
+
@CallbackKey = params['CallbackKey']
|
3559
|
+
end
|
3560
|
+
end
|
3561
|
+
|
3562
|
+
# SetWarningCallback返回参数结构体
|
3563
|
+
class SetWarningCallbackResponse < TencentCloud::Common::AbstractModel
|
3564
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3565
|
+
# @type RequestId: String
|
3566
|
+
|
3567
|
+
attr_accessor :RequestId
|
3568
|
+
|
3569
|
+
def initialize(requestid=nil)
|
3570
|
+
@RequestId = requestid
|
3571
|
+
end
|
3572
|
+
|
3573
|
+
def deserialize(params)
|
3574
|
+
@RequestId = params['RequestId']
|
3575
|
+
end
|
3576
|
+
end
|
3577
|
+
|
3085
3578
|
# SetWhiteboardPushCallbackKey请求参数结构体
|
3086
3579
|
class SetWhiteboardPushCallbackKeyRequest < TencentCloud::Common::AbstractModel
|
3087
3580
|
# @param SdkAppId: 应用的SdkAppId
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-tiw
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.549
|
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-04-
|
11
|
+
date: 2023-04-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|