tencentcloud-sdk-tiw 3.0.716 → 3.0.717

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 28997e9f86231e7b67f6a60050badd258c24d403
4
- data.tar.gz: a866cf98193d74336755be3a3ddb53fcad61ad80
3
+ metadata.gz: 168c46f78e6e1a455714905a3de8787136f4e281
4
+ data.tar.gz: 53ba7bc0b67c2de5282424cb1e3e08375c2bd508
5
5
  SHA512:
6
- metadata.gz: 3de7e5a394a78cf3abc87ac2d0907379f24b77035d82db77155ef729e9353a5affb63524712c0c566416e766fd891378491daebedcb979779fa9f7e96c51634c
7
- data.tar.gz: 193b34321bb1172c9e7d21df39d46144d63f137d04b75ff9ce866ad936989661c247baecdc1bfdf3649f7bdcb648153418c6897bd1a99abd36957511ef063b7c
6
+ metadata.gz: 6da66b66fe9b285ba0c9d25d6797a3f83760fb71a3d30cdc25466927db0bd56bcd43a75ff37a418d29a19802466bbe728ea69863806f442bf6c6912ce04fc9b4
7
+ data.tar.gz: 69b03f0fd782b48359cd62cde82f51cc6269181505aafbafa34b1b81b356c208402b143d3095e295ca5dc8b9ebb5277cab243515397b4e64c3b330b456993420
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.716
1
+ 3.0.717
@@ -77,32 +77,6 @@ module TencentCloud
77
77
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
78
  end
79
79
 
80
- # 课后录制服务已下线
81
-
82
- # 创建课后录制任务
83
-
84
- # @param request: Request instance for CreateOfflineRecord.
85
- # @type request: :class:`Tencentcloud::tiw::V20190919::CreateOfflineRecordRequest`
86
- # @rtype: :class:`Tencentcloud::tiw::V20190919::CreateOfflineRecordResponse`
87
- def CreateOfflineRecord(request)
88
- body = send_request('CreateOfflineRecord', request.serialize)
89
- response = JSON.parse(body)
90
- if response['Response'].key?('Error') == false
91
- model = CreateOfflineRecordResponse.new
92
- model.deserialize(response['Response'])
93
- model
94
- else
95
- code = response['Response']['Error']['Code']
96
- message = response['Response']['Error']['Message']
97
- reqid = response['Response']['RequestId']
98
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
99
- end
100
- rescue TencentCloud::Common::TencentCloudSDKException => e
101
- raise e
102
- rescue StandardError => e
103
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
104
- end
105
-
106
80
  # 检测PPT文件,识别PPT中包含的动态转码任务(Transcode)不支持的元素
107
81
 
108
82
  # @param request: Request instance for CreatePPTCheckTask.
@@ -319,58 +293,6 @@ module TencentCloud
319
293
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
320
294
  end
321
295
 
322
- # 课后录制服务已下线
323
-
324
- # 查询课后录制任务的进度与录制结果等相关信息
325
-
326
- # @param request: Request instance for DescribeOfflineRecord.
327
- # @type request: :class:`Tencentcloud::tiw::V20190919::DescribeOfflineRecordRequest`
328
- # @rtype: :class:`Tencentcloud::tiw::V20190919::DescribeOfflineRecordResponse`
329
- def DescribeOfflineRecord(request)
330
- body = send_request('DescribeOfflineRecord', request.serialize)
331
- response = JSON.parse(body)
332
- if response['Response'].key?('Error') == false
333
- model = DescribeOfflineRecordResponse.new
334
- model.deserialize(response['Response'])
335
- model
336
- else
337
- code = response['Response']['Error']['Code']
338
- message = response['Response']['Error']['Message']
339
- reqid = response['Response']['RequestId']
340
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
341
- end
342
- rescue TencentCloud::Common::TencentCloudSDKException => e
343
- raise e
344
- rescue StandardError => e
345
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
346
- end
347
-
348
- # 课后录制服务已下线
349
-
350
- # 查询课后录制回调地址
351
-
352
- # @param request: Request instance for DescribeOfflineRecordCallback.
353
- # @type request: :class:`Tencentcloud::tiw::V20190919::DescribeOfflineRecordCallbackRequest`
354
- # @rtype: :class:`Tencentcloud::tiw::V20190919::DescribeOfflineRecordCallbackResponse`
355
- def DescribeOfflineRecordCallback(request)
356
- body = send_request('DescribeOfflineRecordCallback', request.serialize)
357
- response = JSON.parse(body)
358
- if response['Response'].key?('Error') == false
359
- model = DescribeOfflineRecordCallbackResponse.new
360
- model.deserialize(response['Response'])
361
- model
362
- else
363
- code = response['Response']['Error']['Code']
364
- message = response['Response']['Error']['Message']
365
- reqid = response['Response']['RequestId']
366
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
367
- end
368
- rescue TencentCloud::Common::TencentCloudSDKException => e
369
- raise e
370
- rescue StandardError => e
371
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
372
- end
373
-
374
296
  # 查询录制任务状态与结果
375
297
 
376
298
  # @param request: Request instance for DescribeOnlineRecord.
@@ -1191,32 +1113,6 @@ module TencentCloud
1191
1113
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1192
1114
  end
1193
1115
 
1194
- # 课后录制服务已下线
1195
-
1196
- # 设置课后录制回调地址
1197
-
1198
- # @param request: Request instance for SetOfflineRecordCallback.
1199
- # @type request: :class:`Tencentcloud::tiw::V20190919::SetOfflineRecordCallbackRequest`
1200
- # @rtype: :class:`Tencentcloud::tiw::V20190919::SetOfflineRecordCallbackResponse`
1201
- def SetOfflineRecordCallback(request)
1202
- body = send_request('SetOfflineRecordCallback', request.serialize)
1203
- response = JSON.parse(body)
1204
- if response['Response'].key?('Error') == false
1205
- model = SetOfflineRecordCallbackResponse.new
1206
- model.deserialize(response['Response'])
1207
- model
1208
- else
1209
- code = response['Response']['Error']['Code']
1210
- message = response['Response']['Error']['Message']
1211
- reqid = response['Response']['RequestId']
1212
- raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
1213
- end
1214
- rescue TencentCloud::Common::TencentCloudSDKException => e
1215
- raise e
1216
- rescue StandardError => e
1217
- raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
1218
- end
1219
-
1220
1116
  # 设置实时录制回调地址,回调数据格式请参考文档:https://cloud.tencent.com/document/product/1137/40258
1221
1117
 
1222
1118
  # @param request: Request instance for SetOnlineRecordCallback.
@@ -214,61 +214,6 @@ module TencentCloud
214
214
  end
215
215
  end
216
216
 
217
- # CreateOfflineRecord请求参数结构体
218
- class CreateOfflineRecordRequest < TencentCloud::Common::AbstractModel
219
- # @param SdkAppId: 客户的SdkAppId
220
- # @type SdkAppId: Integer
221
- # @param RoomId: 录制任务对应的房间号
222
- # @type RoomId: Integer
223
- # @param GroupId: 录制任务对应的群组Id
224
- # @type GroupId: String
225
- # @param MixStream: 混流参数配置
226
- # 目前课后录制暂未支持自定义混流布局Custom参数
227
- # @type MixStream: :class:`Tencentcloud::Tiw.v20190919.models.MixStream`
228
- # @param Whiteboard: 白板参数配置
229
- # @type Whiteboard: :class:`Tencentcloud::Tiw.v20190919.models.Whiteboard`
230
-
231
- attr_accessor :SdkAppId, :RoomId, :GroupId, :MixStream, :Whiteboard
232
-
233
- def initialize(sdkappid=nil, roomid=nil, groupid=nil, mixstream=nil, whiteboard=nil)
234
- @SdkAppId = sdkappid
235
- @RoomId = roomid
236
- @GroupId = groupid
237
- @MixStream = mixstream
238
- @Whiteboard = whiteboard
239
- end
240
-
241
- def deserialize(params)
242
- @SdkAppId = params['SdkAppId']
243
- @RoomId = params['RoomId']
244
- @GroupId = params['GroupId']
245
- unless params['MixStream'].nil?
246
- @MixStream = MixStream.new
247
- @MixStream.deserialize(params['MixStream'])
248
- end
249
- unless params['Whiteboard'].nil?
250
- @Whiteboard = Whiteboard.new
251
- @Whiteboard.deserialize(params['Whiteboard'])
252
- end
253
- end
254
- end
255
-
256
- # CreateOfflineRecord返回参数结构体
257
- class CreateOfflineRecordResponse < TencentCloud::Common::AbstractModel
258
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
259
- # @type RequestId: String
260
-
261
- attr_accessor :RequestId
262
-
263
- def initialize(requestid=nil)
264
- @RequestId = requestid
265
- end
266
-
267
- def deserialize(params)
268
- @RequestId = params['RequestId']
269
- end
270
- end
271
-
272
217
  # CreatePPTCheckTask请求参数结构体
273
218
  class CreatePPTCheckTaskRequest < TencentCloud::Common::AbstractModel
274
219
  # @param SdkAppId: 客户的SdkAppId
@@ -429,10 +374,12 @@ module TencentCloud
429
374
  # 2. 自动翻页:移除PPT上所有的自动翻页设置,并设置为单击鼠标翻页
430
375
  # 3. 已损坏音视频:移除PPT上对损坏音视频的引用
431
376
  # @type AutoHandleUnsupportedElement: Boolean
377
+ # @param ExcelParam: Excel表格转码参数,可设置转码时表格纸张大小及纸张方向等参数(仅对转码文件为Excel表格文件的静态转码任务生效)
378
+ # @type ExcelParam: :class:`Tencentcloud::Tiw.v20190919.models.ExcelParam`
432
379
 
433
- attr_accessor :SdkAppId, :Url, :IsStaticPPT, :MinResolution, :ThumbnailResolution, :CompressFileType, :ExtraData, :Priority, :MinScaleResolution, :AutoHandleUnsupportedElement
380
+ attr_accessor :SdkAppId, :Url, :IsStaticPPT, :MinResolution, :ThumbnailResolution, :CompressFileType, :ExtraData, :Priority, :MinScaleResolution, :AutoHandleUnsupportedElement, :ExcelParam
434
381
 
435
- def initialize(sdkappid=nil, url=nil, isstaticppt=nil, minresolution=nil, thumbnailresolution=nil, compressfiletype=nil, extradata=nil, priority=nil, minscaleresolution=nil, autohandleunsupportedelement=nil)
382
+ def initialize(sdkappid=nil, url=nil, isstaticppt=nil, minresolution=nil, thumbnailresolution=nil, compressfiletype=nil, extradata=nil, priority=nil, minscaleresolution=nil, autohandleunsupportedelement=nil, excelparam=nil)
436
383
  @SdkAppId = sdkappid
437
384
  @Url = url
438
385
  @IsStaticPPT = isstaticppt
@@ -443,6 +390,7 @@ module TencentCloud
443
390
  @Priority = priority
444
391
  @MinScaleResolution = minscaleresolution
445
392
  @AutoHandleUnsupportedElement = autohandleunsupportedelement
393
+ @ExcelParam = excelparam
446
394
  end
447
395
 
448
396
  def deserialize(params)
@@ -456,6 +404,10 @@ module TencentCloud
456
404
  @Priority = params['Priority']
457
405
  @MinScaleResolution = params['MinScaleResolution']
458
406
  @AutoHandleUnsupportedElement = params['AutoHandleUnsupportedElement']
407
+ unless params['ExcelParam'].nil?
408
+ @ExcelParam = ExcelParam.new
409
+ @ExcelParam.deserialize(params['ExcelParam'])
410
+ end
459
411
  end
460
412
  end
461
413
 
@@ -875,74 +827,6 @@ module TencentCloud
875
827
  end
876
828
  end
877
829
 
878
- # DescribeOfflineRecordCallback请求参数结构体
879
- class DescribeOfflineRecordCallbackRequest < TencentCloud::Common::AbstractModel
880
- # @param SdkAppId: 应用的SdkAppId
881
- # @type SdkAppId: Integer
882
-
883
- attr_accessor :SdkAppId
884
-
885
- def initialize(sdkappid=nil)
886
- @SdkAppId = sdkappid
887
- end
888
-
889
- def deserialize(params)
890
- @SdkAppId = params['SdkAppId']
891
- end
892
- end
893
-
894
- # DescribeOfflineRecordCallback返回参数结构体
895
- class DescribeOfflineRecordCallbackResponse < TencentCloud::Common::AbstractModel
896
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
897
- # @type RequestId: String
898
-
899
- attr_accessor :RequestId
900
-
901
- def initialize(requestid=nil)
902
- @RequestId = requestid
903
- end
904
-
905
- def deserialize(params)
906
- @RequestId = params['RequestId']
907
- end
908
- end
909
-
910
- # DescribeOfflineRecord请求参数结构体
911
- class DescribeOfflineRecordRequest < TencentCloud::Common::AbstractModel
912
- # @param SdkAppId: 客户的SdkAppId
913
- # @type SdkAppId: Integer
914
- # @param TaskId: 课后录制任务的Id
915
- # @type TaskId: String
916
-
917
- attr_accessor :SdkAppId, :TaskId
918
-
919
- def initialize(sdkappid=nil, taskid=nil)
920
- @SdkAppId = sdkappid
921
- @TaskId = taskid
922
- end
923
-
924
- def deserialize(params)
925
- @SdkAppId = params['SdkAppId']
926
- @TaskId = params['TaskId']
927
- end
928
- end
929
-
930
- # DescribeOfflineRecord返回参数结构体
931
- class DescribeOfflineRecordResponse < TencentCloud::Common::AbstractModel
932
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
933
- # @type RequestId: String
934
-
935
- attr_accessor :RequestId
936
-
937
- def initialize(requestid=nil)
938
- @RequestId = requestid
939
- end
940
-
941
- def deserialize(params)
942
- @RequestId = params['RequestId']
943
- end
944
- end
945
-
946
830
  # DescribeOnlineRecordCallback请求参数结构体
947
831
  class DescribeOnlineRecordCallbackRequest < TencentCloud::Common::AbstractModel
948
832
  # @param SdkAppId: 应用的SdkAppId
@@ -2574,6 +2458,33 @@ module TencentCloud
2574
2458
  end
2575
2459
  end
2576
2460
 
2461
+ # Excel转码相关参数
2462
+ class ExcelParam < TencentCloud::Common::AbstractModel
2463
+ # @param PaperSize: 表格转码纸张(画布)大小,默认为0。
2464
+ # 0 -- A4
2465
+ # 1 -- A2
2466
+ # 2 -- A0
2467
+
2468
+ # 注:当设置的值超出合法取值范围时,将采用默认值。
2469
+ # @type PaperSize: Integer
2470
+ # @param PaperDirection: 表格文件转换纸张方向,默认为0。
2471
+ # 0 -- 代表垂直方向
2472
+ # 非0 -- 代表水平方向
2473
+ # @type PaperDirection: Integer
2474
+
2475
+ attr_accessor :PaperSize, :PaperDirection
2476
+
2477
+ def initialize(papersize=nil, paperdirection=nil)
2478
+ @PaperSize = papersize
2479
+ @PaperDirection = paperdirection
2480
+ end
2481
+
2482
+ def deserialize(params)
2483
+ @PaperSize = params['PaperSize']
2484
+ @PaperDirection = params['PaperDirection']
2485
+ end
2486
+ end
2487
+
2577
2488
  # 实时录制中出现的用户视频流断流次数统计
2578
2489
  class Interrupt < TencentCloud::Common::AbstractModel
2579
2490
  # @param UserId: 用户ID
@@ -3289,42 +3200,6 @@ module TencentCloud
3289
3200
  end
3290
3201
  end
3291
3202
 
3292
- # SetOfflineRecordCallback请求参数结构体
3293
- class SetOfflineRecordCallbackRequest < TencentCloud::Common::AbstractModel
3294
- # @param SdkAppId: 客户的SdkAppId
3295
- # @type SdkAppId: Integer
3296
- # @param Callback: 课后录制任务结果回调地址,如果传空字符串会删除原来的回调地址配置,回调地址仅支持 http或https协议,即回调地址以http://或https://开头
3297
- # @type Callback: String
3298
-
3299
- attr_accessor :SdkAppId, :Callback
3300
-
3301
- def initialize(sdkappid=nil, callback=nil)
3302
- @SdkAppId = sdkappid
3303
- @Callback = callback
3304
- end
3305
-
3306
- def deserialize(params)
3307
- @SdkAppId = params['SdkAppId']
3308
- @Callback = params['Callback']
3309
- end
3310
- end
3311
-
3312
- # SetOfflineRecordCallback返回参数结构体
3313
- class SetOfflineRecordCallbackResponse < TencentCloud::Common::AbstractModel
3314
- # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3315
- # @type RequestId: String
3316
-
3317
- attr_accessor :RequestId
3318
-
3319
- def initialize(requestid=nil)
3320
- @RequestId = requestid
3321
- end
3322
-
3323
- def deserialize(params)
3324
- @RequestId = params['RequestId']
3325
- end
3326
- end
3327
-
3328
3203
  # SetOnlineRecordCallbackKey请求参数结构体
3329
3204
  class SetOnlineRecordCallbackKeyRequest < TencentCloud::Common::AbstractModel
3330
3205
  # @param SdkAppId: 应用的SdkAppId
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tiw
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.716
4
+ version: 3.0.717
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud